[
https://issues.apache.org/jira/browse/OLINGO-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770693#comment-13770693
]
Michael Bolz commented on OLINGO-19:
------------------------------------
Hi Sergey,
thanks for the hint.
But in my case I found a bug in the {{ODataRequestHandler}} which has set the
{{Content-Type}} header.
Kind regards,
Michael
> Content Type Response for HttpStatus 204 - No Content
> -----------------------------------------------------
>
> Key: OLINGO-19
> URL: https://issues.apache.org/jira/browse/OLINGO-19
> Project: Olingo
> Issue Type: Bug
> Reporter: Michael Bolz
> Assignee: Michael Bolz
> Fix For: 1.0.0
>
>
> Currently a response with HttpStatus {{204 - No Content}} contains a
> {{Content-Type}} header.
> This has to be changed because a {{204}} MUST NOT includes an entity body and
> hence no {{Content-Type}} header (see section 10.2.5 in RFC2616
> [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html]).
--
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