[ https://issues.apache.org/jira/browse/CXF-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-2134. ----------------------------------- Resolution: Fixed Fix Version/s: 2.2.1 > ResponseBuilder implementation sets date headers with Date.toString() method > ---------------------------------------------------------------------------- > > Key: CXF-2134 > URL: https://issues.apache.org/jira/browse/CXF-2134 > Project: CXF > Issue Type: Bug > Components: REST > Affects Versions: 2.2 > Reporter: Roman Kalukiewicz > Assignee: Sergey Beryozkin > Fix For: 2.2.1 > > > {{expires()}} and {{lastModified()}} methods of {{ResponseBuilderImpl}} sets > response headers with {{Date.toString()}} method, while they should obey time > format specified by RFC1123. > This means that the date should be formated like > {code} > new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", > Locale.ENGLISH).format(expires); > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.