P is for Practical | |
PerlMonks |
Re: Determining Content-Length when there is no Content-Length headerby calin (Deacon) |
on Sep 30, 2007 at 01:26 UTC ( [id://641741]=note: print w/replies, xml ) | Need Help?? |
You can try to use a partial GET (byte range) to seek around the file to find its end by trial (and avoid downloading 20GB), but I'm pretty sure 99% of the resources supporting a partial GET will also report a Content-Length in the header. Short answer: no, AFAIK Update:Here's what I found in the standard. I don't quite understand the verbiage, but take a look at this.
In Section
Seekers of Perl Wisdom
|
|