hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpClient in a proxy servlet
Date Fri, 10 Feb 2012 11:05:56 GMT
On Thu, 2012-02-09 at 20:26 -0800, Warren Bell wrote:
> I am using HttpClient in a proxy servlet and I want to configure it so
> that it does not handle redirects automatically or add any request
> headers or request entities. I will be passing all request headers and
> request entities to it.
> What is the best way to configure HttpClient to act like a proxy ?
> Thanks,
> Warren Bell

You should certainly want to disable automatic redirect handling. You
might as well disable authentication and cookie management.

Hope this helps


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

View raw message