Possible HttpURLConnection.setFollowRedirects bug?I
From: Wil Hadden (Sn0tters_at_yahoo.co.uk)
Date: 10/30/04
- Next message: Brusque: "Re: Possible HttpURLConnection.setFollowRedirects bug?I"
- Previous message: Oscar kind: "Re: regex: remove file ext"
- Next in thread: Brusque: "Re: Possible HttpURLConnection.setFollowRedirects bug?I"
- Reply: Brusque: "Re: Possible HttpURLConnection.setFollowRedirects bug?I"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Oct 2004 16:14:12 -0700
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
- Next message: Brusque: "Re: Possible HttpURLConnection.setFollowRedirects bug?I"
- Previous message: Oscar kind: "Re: regex: remove file ext"
- Next in thread: Brusque: "Re: Possible HttpURLConnection.setFollowRedirects bug?I"
- Reply: Brusque: "Re: Possible HttpURLConnection.setFollowRedirects bug?I"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|