On Mon, 2010-11-08 at 16:14 +0100, Darius Bohni wrote:
> Hi,
> 
> I try to read an http stream (ex. Shoutcast) with a virtual address (with
> and without using an http proxy). How can I do this with the new HttpClient
> 4?
> It hangs on execute() when using a GET request. I've read that execute()
> waits until all data is arrived, is there no workaround?

This is not the case. HttpClient#execute method returns immediately
after receiving a valid response head (status line + headers). The
response content can be obtained from the HttpEntity associated with the
HttpResponse object returned by the execute method.  

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to