[
https://issues.apache.org/activemq/browse/CAMEL-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52400#action_52400
]
Hadrian Zbarcea commented on CAMEL-1740:
----------------------------------------
Actually HTTP_CHARACTER_ENCODING is not a duplicate. I ended up moving
CONTENT_ENCODING to HttpMessage and removing HttpConstants.java as it only had
this one header name defined. Moving it to HttpMessage seems a better choice
and following the same convention used by other parts of the code such as CXF.
Committed fix in r787522. Need to update the wiki. I think a bit more work is
needed around headers in camel-http.
> Docs for the http component are incorrect regarding the HttpConstants class
> ---------------------------------------------------------------------------
>
> Key: CAMEL-1740
> URL: https://issues.apache.org/activemq/browse/CAMEL-1740
> Project: Apache Camel
> Issue Type: Bug
> Affects Versions: 2.0-M2
> Reporter: Hadrian Zbarcea
> Assignee: Hadrian Zbarcea
>
> The documentation on the wiki needs updating after many of the HTTP constants
> were moved from HttpConstants to Exchange in r777808.
> The HttpConstants class is not even necessary anymore, the only constant
> remaining there is HttpConstants.CONTENT_ENCODING which is duplicated
> actually by Exchange.HTTP_CHARACTER_ENCODING. The latter should be used,
> HttpConstants.java removed and the wiki updated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.