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


{{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.

Reply via email to