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
This is a continuation of #65 that won't make it into that PR.
If you have a resource declaring fileO . someO . jsonE . someE and request it with Accept: application/octet-stream you should get an error, the header should be Accept: application/octetstream,text/json or equivalent. Otherwise you may get a response in an unexpected format.
The text was updated successfully, but these errors were encountered:
Just to clarify: we currently check the accept headers against the provided output types always, but we only check them against the provided error types if an actual error occurs. This means you can have working code, until an error occurs. Then, instead of the error, you'll see that 'unsupported type'.
This is a continuation of #65 that won't make it into that PR.
If you have a resource declaring
fileO . someO . jsonE . someE
and request it withAccept: application/octet-stream
you should get an error, the header should beAccept: application/octetstream,text/json
or equivalent. Otherwise you may get a response in an unexpected format.The text was updated successfully, but these errors were encountered: