[
https://issues.redhat.com/browse/WFWIP-290?page=com.atlassian.jira.plugin...
]
Fabio Burzigotti commented on WFWIP-290:
----------------------------------------
Hi [~pferraro], I see that the original issue has been fixed on feature branch (commit
**803a542bba53b30bacf4c0003d46838191c6afd3**) and HTTP 406 is now returned for all
unacceptable types, although I can see that - when sending "Accept:
application/*", then HTTP 200 is returned with "application/yaml"
Content-Type.
Is this behavior wanted?
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)