W
Wil Hadden
Hi,
I have discovered a slightly obscure scenario that may cause a bug in
HttpURLConnection and I was wondering if anyone could confirm it.
With automatic redirection turned on, if I do a HTTP GET request, with
various cookies set and I recieve a 302 redirect, HttpURLConnection
will do the redirection but will not send on the cookies at the same
time.
I have confirmed that all browsers will send on the cookies. The net
result is that the server will usually process the redirect
differently due to the lack of cookies being sent to the new page.
I am using the lastest 1.4 JRE.
I may not be able to reply to this until Monday.
Wil
I have discovered a slightly obscure scenario that may cause a bug in
HttpURLConnection and I was wondering if anyone could confirm it.
With automatic redirection turned on, if I do a HTTP GET request, with
various cookies set and I recieve a 302 redirect, HttpURLConnection
will do the redirection but will not send on the cookies at the same
time.
I have confirmed that all browsers will send on the cookies. The net
result is that the server will usually process the redirect
differently due to the lack of cookies being sent to the new page.
I am using the lastest 1.4 JRE.
I may not be able to reply to this until Monday.
Wil