You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/12/15 00:30:04 UTC

DO NOT REPLY [Bug 37913] - Get and Post tasks: cookies not set when redirect received

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37913>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37913


jkf@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement




------- Additional Comments From jkf@apache.org  2005-12-15 00:30 -------
The GET task in ant uses the standard java interfaces on HTTP.

(URL and HttpURLConnection) according to Sun, cookie management is taken care of.
(http://forum.java.sun.com/thread.jspa?threadID=452352&tstart=195)

When testing against an own server I Can see that firefox returns the cookie on
the 302 redirect and the sun implementation doesn't.

Also, please note cookies are not part of the HTTP/1.1 specification (RFC2616),
therefore I'll mark this report as an enhancement request.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org