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 <[EMAIL PROTECTED]>: > > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
