You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/11 13:17:00 UTC

[jira] [Commented] (CAMEL-11423) Accept header is not compliant with IETF RFC-7231

    [ https://issues.apache.org/jira/browse/CAMEL-11423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082176#comment-16082176 ] 

ASF GitHub Bot commented on CAMEL-11423:
----------------------------------------

GitHub user sarhaynes opened a pull request:

    https://github.com/apache/camel/pull/1816

    CAMEL-11423 Make camel-olingo2/4 ACCEPT headers RFC-7231 compliant.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sarhaynes/camel CAMEL-11423

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1816.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1816
    
----
commit 2998deee8f32d035b4dbdc1b3c9dae15b982464d
Author: Sean Haynes <s....@ieee.org>
Date:   2017-07-11T13:13:43Z

    CAMEL-11423 Make camel-olingo2/4 ACCEPT headers RFC-7231 compliant.

----


> Accept header is not compliant with IETF RFC-7231
> -------------------------------------------------
>
>                 Key: CAMEL-11423
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11423
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-olingo2
>    Affects Versions: 2.17.7, 2.19.0
>            Reporter: Sean Haynes
>            Priority: Minor
>         Attachments: camel-11423.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When the "Accept" http header is sent to remote system it can contain a "charset=<charset>" statement.  According to RFC 7231 this should be in an "accept-charset" header.  See https://tools.ietf.org/html/rfc7231#section-5.3.2  https://tools.ietf.org/html/rfc7231#section-5.3.3
> This format is acceptable in a "content-type" response header.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)