You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2009/03/26 21:00:50 UTC
[jira] Assigned: (CXF-2134) ResponseBuilder implementation sets
date headers with Date.toString() method
[ https://issues.apache.org/jira/browse/CXF-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin reassigned CXF-2134:
-------------------------------------
Assignee: Sergey Beryozkin
> 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.