[infinispan-issues] [JBoss JIRA] (ISPN-3206) REST endpoint returns Expiry header in default locale for the server
Martin Gencur (JIRA)
jira-events at lists.jboss.org
Fri Jun 7 05:43:55 EDT 2013
Martin Gencur created ISPN-3206:
-----------------------------------
Summary: REST endpoint returns Expiry header in default locale for the server
Key: ISPN-3206
URL: https://issues.jboss.org/browse/ISPN-3206
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.3.0.CR1
Reporter: Martin Gencur
Assignee: Martin Gencur
Fix For: 5.3.0.CR2
Rest endpoint uses RESTEasy to generate responses and uses .expires(date) method of the respective response builder. However, the currently used RESTEasy version (org.jboss.resteasy:resteasy-jaxrs:jar:2.3.2.Final) uses the server's default locale (in my case it was cs_CZ) which caused the Expiry header to have the following format: Čt, 06 VI 2013 19:24:02 CEST (also see RESTEASY-887). OTOH, the 2.3.2 version of RESTEasy generates Last-Modified always in US locale.
We should ensure that the Expiry header is returned in US locale as well and not to be server specific.
--
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
More information about the infinispan-issues
mailing list