You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
According to the WC3 Specifictations the Server should try to satisfy accept headers in order. Currently the order of the content-types in the Accept header is not respected.
So when I send a request with an Accept header like this: application/xml, application/json it should first try to return a xml and then a json model. When I do application/json, application/xml it should be the other way around.
Please report this upstream to https://github.com/zendframework/zend-mvc, as the logic by which Accept matching occurs is in the AcceptableViewModelSelector controller plugin.
According to the WC3 Specifictations the Server should try to satisfy accept headers in order. Currently the order of the content-types in the
Accept
header is not respected.So when I send a request with an
Accept
header like this:application/xml, application/json
it should first try to return axml
and then ajson
model. When I doapplication/json, application/xml
it should be the other way around.With a config like this:
The order of the
Accept
content-types seems to not be respected by the server. In both cases the same model is set.The text was updated successfully, but these errors were encountered: