I am using Apache http client in java but am noticing the it refuses to get content on non 200 results… How do I override it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve tried this:
on the 200 and 404 and it works as expected (error code + content). The code is from apache website itself: http://hc.apache.org/httpclient-3.x/tutorial.html