[sword-devel] HTTP Transport support (was: Remote Module Repository Wiki)

Weston Ruter westonruter at gmail.com
Sun Nov 7 06:35:52 MST 2010


Yes, do a HEAD request and then look at the Content-Length header.

On Sun, Nov 7, 2010 at 1:11 PM, DM Smith <dmsmith at crosswire.org> wrote:

>
>
> On Nov 6, 2010, at 10:22 PM, Nic Carter <niccarter at mac.com> wrote:
>
> > But, I believe there is a way of telling the size of a file being
> retrieved via HTTP GET?  hopefully we could use that as well?  :)
> IIRC, it's HEAD. JSword uses it. Works well.
> In Him,
> DM
>
> From my phone.
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



-- 
Weston Ruter
http://weston.ruter.net/
@westonruter <http://twitter.com/westonruter> - Google
Profile<http://www.google.com/profiles/WestonRuter#about>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20101107/62cc670e/attachment.html>


More information about the sword-devel mailing list