-
Bug
-
Resolution: Done
-
Major
-
3.0.19.Final
-
None
When the Cookie set Expires attribute but it's not same to a specified time:
@GET
@Path("get0")
public Response get0() {
System.out.println("MyEndpoint get0");
NewCookie cookie = new NewCookie("Name", "Value", "/", "*", 0,
"comment", 3600, new Date(),
true, true);
return
Response.ok().cookie(cookie).entity(cookie.toString()).build();
}
It looks "Set-cookie" header Expires is always calculated from Max-Age attribute.
- is cloned by
-
RESTEASY-1498 (3.0.x) Expires attribute for NewCookie is not set correctly in response header
-
- Resolved
-