Add headers to Redirect request

2008-06-06 Thread Thuannd
Hi! When after a redirect response a retry is done by the DefaultClientRequestDirector, i think, redirect request cann't add all headers from original request. Some headers, example: Host header , there will be incorrect value if request redirect to another host. Some server will check value

Re: Add headers to Redirect request

2008-06-06 Thread Oleg Kalnichevski
On Thu, 2008-06-05 at 23:14 -0700, Thuannd wrote: Hi! When after a redirect response a retry is done by the DefaultClientRequestDirector, i think, redirect request cann't add all headers from original request. Some headers, example: Host header , there will be incorrect value if request