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 2013/05/20 12:09:15 UTC

[jira] [Created] (CXF-5024) Update HTTP Transport HTTPHeaders utility to correctly represent some complex headers

Sergey Beryozkin created CXF-5024:
-------------------------------------

             Summary: Update HTTP Transport HTTPHeaders utility to correctly represent some complex headers
                 Key: CXF-5024
                 URL: https://issues.apache.org/jira/browse/CXF-5024
             Project: CXF
          Issue Type: Task
          Components: Transports
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
            Priority: Minor
             Fix For: 3.0.0


Date and Locale toString() conversion does not correctly represent these objects as HTTP header values. 
HTTP Link and Set-Cookie headers have to be added as separate HTTP headers (one value - new line). 

This is typically an issue of the JAX-RS runtime, but the proper support for Date & Locale headers, as well as for Set-Cookie, may be of use for WS services too.

This can not be implemented in the JAX-RS runtime as the TCK enforces that custom header values like Locale, Date, etc are not converted until the data are written to the stream

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