hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hjw <hjw1...@gmail.com>
Subject Re: A proble with the buffer
Date Wed, 26 Mar 2008 00:18:40 GMT
Hi, Oleg

Use #getResponseAsStream() is not ok,because once #executeMethod(),the
response will receive automaticly 2K data,what I want likes
HeadMethod which only receives the header ,but HeadMethod could not get the
response.

2008/3/26, Oleg Kalnichevski <olegk@apache.org>:
>
>
> On Tue, 2008-03-25 at 22:03 +0800, hjw wrote:
> > Hi ,all
> >
> > When I call method executeMethod() in HttpClient ,usually the methed
> > executed and did not call getResponseAsString() ,the length of the
> response
> > is 2K,I think this is the buffer of HttpClient , Is it right? If it is
> > right,how can I change the size of the buffer? If it is not, Could you
> point
> > out what I miss ?
> >
> > Regards
> >
> > Raymond
>
> Use #getResponseAsStream() and whatever buffer size you please
>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message