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
Response from $metadata can only be in XML, but the Breeze client (breeze.dataService.odata.js) is asking for json. This is wrong and causes the server to respond with 406.
Here is what the spec says about Accept: "If no Accept header field is present, then it is assumed that the client accepts all media types. If an Accept header field is present, and if the server cannot send a response which is acceptable according to the combined Accept field value, then the server SHOULD send a 406 (not acceptable) response." -- https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
The text was updated successfully, but these errors were encountered:
prilling
changed the title
Requests for $metadata has Accept=application/json;odata.metadata=full
Requests for $metadata has Accept: application/json;odata.metadata=full
May 11, 2016
Response from $metadata can only be in XML, but the Breeze client (breeze.dataService.odata.js) is asking for json. This is wrong and causes the server to respond with 406.
Here is what the spec says about Accept: "If no Accept header field is present, then it is assumed that the client accepts all media types. If an Accept header field is present, and if the server cannot send a response which is acceptable according to the combined Accept field value, then the server SHOULD send a 406 (not acceptable) response." -- https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
The text was updated successfully, but these errors were encountered: