-
Bug
-
Resolution: Done
-
Major
-
None
-
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.
- clones
-
RESTEASY-1476 Expires attribute for NewCookie is not set correctly in response header
-
- Resolved
-
- is related to
-
JBEAP-5790 [GSS](7.0.z) RESTEASY-1498 - Resteasy does not set Expires attribute for NewCookie correctly
-
- Verified
-
-
JBEAP-5845 [GSS](7.1.0) Resteasy does not set Expires attribute for NewCookie correctly
-
- Verified
-