develooper Front page | perl.libwww | Postings from July 2001

Re: LWP/Solaris missing EOF bug

Thread Previous
From:
Jeff W. Sondeen
Date:
July 9, 2001 16:06
Subject:
Re: LWP/Solaris missing EOF bug
Message ID:
15178.13369.233622.645204@mizar.usc.edu

Gisle Aas writes:
 > Bob Fillmore <fillmore@home.com> writes:
 > 
 > > Why doesn't LWP do this already?  (use the Content-Length header if
 > > found)
 > 
 > Basically just because the current approach of reading data until EOF
 > has worked nicely so far.  The new HTTP/1.1 code (in libwww-perl-5.53_94)
 > will look at the Content-Length so it should not have this problem.

however, i remember having trouble with some sites not reporting the
#bytes correctly (giving EOF before the promised #bytes).

 > 
 > Regards,
 > Gisle

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About