hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <mbe...@gmail.com>
Subject Re: inputstream from an unfinished request
Date Tue, 31 Jan 2006 13:56:34 GMT
Hi Roger,

Your guess is correct.  The response is not available, at least not
using HttpClient, until the request has been sent.  In general this
seems like a strange thing to want to do.  Is there a particular use
case you had in mind?

Mike

On 1/31/06, Roger Menday <r.menday@fz-juelich.de> wrote:
>
> Hi,
>
> I am using httpclient productively, but I have a question which I hope
> isn't too daft.
>
> I would like to make a POST, and then start reading the response (in a
> separate thread) before the entire request has been sent,
> getResponseAsStream() appears to be non-null only when the whole request
> has been sent.
>
> My wishes are probably somewhat contrary to what HTTP intends to be I
> think ...
> But ..
>
> Thanks for any help,
>
> Roger
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message