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 Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
