[jboss-jira] [JBoss JIRA] (WFWIP-290) Response Content-Type is 'application/json' even when HTTP request defines 'application/json-patch+json' "Accept" header

Fabio Burzigotti (Jira) issues at jboss.org
Thu Jan 9 04:19:43 EST 2020


    [ https://issues.redhat.com/browse/WFWIP-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944488#comment-13944488 ] 

Fabio Burzigotti edited comment on WFWIP-290 at 1/9/20 4:19 AM:
----------------------------------------------------------------

Thanks [~pferraro]. Tests are confirming for this to be fixed with following feature branch version:

* https://github.com/pferraro/wildfly/tree/WFLY-12313
* commit: 7c53fecadc5df6b8e5f0c2795bc8b9daf58055bd

Closing the issue.


was (Author: fburzigo):
Thanks [~pferraro]. Tests are confirming for this to be fixed with following feature branch version:

* commit: 7c53fecadc5df6b8e5f0c2795bc8b9daf58055bd

Closing the issue.

> Response Content-Type is 'application/json' even when HTTP request defines 'application/json-patch+json' "Accept" header
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFWIP-290
>                 URL: https://issues.redhat.com/browse/WFWIP-290
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: MP OpenAPI
>            Reporter: Fabio Burzigotti
>            Assignee: Paul Ferraro
>            Priority: Major
>
> When sending HTTP request header "Accept: application/json-patch+json", "Content-Type: application/json" response is returned.
> This behavior seems to be less strict compared to what is defined by the spec, as it states "application/json" is specifically needed in order to get the same value back from server.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list