hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cj_tomekk <cj_tom...@poczta.onet.pl>
Subject When returning page is 404 no InputStream can be read
Date Wed, 27 Jan 2010 11:01:35 GMT

Hello,
I have such a problem that I recieve HTTP content from a specified address
after GET/POST methods.
Tipically:
HttpResponse hresponse = httpclient.execute(hrequest);

Getting the entity:
HttpEntity entity = hresponse.getEntity();

When return code is for example 200 it enables me to get the stream and do
sth with it.

When return code if 404 no data can be retrieved. Normally doing action by
browser gives a specific 404 page.

Please help.
-- 
View this message in context: http://old.nabble.com/When-returning-page-is-404-no-InputStream-can-be-read-tp27336341p27336341.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


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


Mime
View raw message