You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2004/03/02 15:26:57 UTC
DO NOT REPLY [Bug 27366] -
GetMethod.getResponseBodyAsStream() .available() could return content-length
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27366>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27366
GetMethod.getResponseBodyAsStream() .available() could return content-length
------- Additional Comments From skoehler@upb.de 2004-03-02 14:26 -------
The available()-Methode should return the amout of data which can be read()
without blocking. That is _not_ the whole content-length, but the amount of data
that is available in HttpClient's internal buffers.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org