On Mon, 2011-02-07 at 10:28 +0100, khiem nguyen wrote: > Hi, > i'm trying to use httpclient 4.1 to get some stream-content from this site > http://oe1.orf.at/konsole/?show=live > > this doesnt work, log message: > > DefaultResponseParser [DEBUG] Garbage in response: > > from browser, debug with firebug i saw a GET request to > > http://mp3stream3.apasf.apa.at:8000/;stream.mp3 > > reponse code is 200 but there's no other headers back from server, seems > like DefaultResponseParser tries to interprete mp3-content as header & > failed & throws everything away. > > is it the correct behaviour & why firefox can handle it correctly ? > > thanx
I am pretty sure DefaultResponseParser can handle HTTP response messages with no headers just fine. Please post a wire log of the HTTP session, if you are reasonably sure HttpClient incorrectly handles valid HTTP responses. http://hc.apache.org/httpcomponents-client-ga/logging.html Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
