MockHttpServletResponse doesn't delete cookies
----------------------------------------------

                 Key: WICKET-2630
                 URL: https://issues.apache.org/jira/browse/WICKET-2630
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.5
            Reporter: Marat Radchenko


>From Cookie.setMaxAge javadoc:
     * @param expiry            an integer specifying the maximum age of the
     *                          cookie in seconds; if negative, means
     *                          the cookie is not stored; if zero, deletes
     *                          the cookie

So, if maxAge is zero, MockHttpServletResponse should remove cookie.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to