You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "oliver z (JIRA)" <ji...@apache.org> on 2013/04/04 16:23:16 UTC

[jira] [Created] (WICKET-5131) Problems with cookies disabled when using 301/302 and also 303 (even with cookies)

oliver  z created WICKET-5131:
---------------------------------

             Summary: Problems with cookies disabled when using 301/302 and also 303 (even with cookies)
                 Key: WICKET-5131
                 URL: https://issues.apache.org/jira/browse/WICKET-5131
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 6.6.0
            Reporter: oliver  z


As mentioned in the mailing list by Martin, i open this as a bug...

Its not possible to use 303 as redirect (SC_SEE_OTHER) because thats not supported, only 302 and 301 are supported but this is defined in RFC HTTP 1.1 from 1997. 

301 will add the Location header - which works as expected when disabling cookies. But a 302 (which is what i prefer) will redirect to the same page because the Location header is missing. When i enable cookies, its working.

Example can be found here: https://github.com/olze/WicketRedirect

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira