hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus M. Salvo Jr." <jesus.sa...@migasia.com>
Subject Re: RFE: Method to return an InputStream that includes both HTTP headers and HTTP body
Date Thu, 27 Feb 2003 23:05:48 GMT

Definitely ... unless of course setFollowRedirect() is set to false.

Ortwin Gl|ck wrote:

> Jesus M. Salvo Jr. wrote:
>
>>
>> At the moment, the HttpMethod interface has a method 
>> getResponseBodyAsStream() that returns an InputStream of the HTTP body.
>> I need a method that returns the _entire_ HTTP response, including 
>> the HTTP headers and body, in a single InputStream.
>
>
>
> I assume in case of redirection, authentication and the like, you only 
> want the stream from the final request.
>
> Odi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>
>


-- 
Jesus M. Salvo Jr.
Mobile Internet Group Pty Ltd
(formerly Softgame International Pty Ltd)
M: +61 409 126699
T: +61 2 94604777
F: +61 2 94603677

PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0BA5348



Mime
View raw message