-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media Type value is incorrect #2
Comments
After crawling the json:api spec v1.1 again, it seems to me, that the correct naming would be @sliverc am i right at this point?
I do not handle the accept header in my package explicitly. So it seems not a problem of this package. |
Thanks for the relevant spec sections, I didn't find those. As for the compatibility with I can open a bug there if we think this behavior isn't desired, but either way it seems like it would be helpful to document in this library because most developers won't have had to think about the accept header until using this library. |
I am bit confused about the space. In the spec 5.4 it states there needs to be a space when there is more than one ext or profile defined. In the example of 5.4.1 there is clearly a space although there is only one ext. But in the atomic documentation there is no space. Best ask upstream what the right content type is, as this is certainly a bug in the specification one way or the other. In terms of Accept |
This makes it seem like the behavior i found was undesired. I started a discussion about it. |
wrote an issue about our question regarding the media type syntax |
The media type
is incorrect. This value forces the client to provide the header
accept: vnd.api+json;ext="https://jsonapi.org/ext/atomic
which is unexpected. Notice the missing"
.The user should be able to provide
accept: vnd.api+json;ext="https://jsonapi.org/ext/atomic"
but this currently results in a 406 error.In addition, it would be helpful to note that the usual value for the accept header
*/*
is not valid for this view. The client must provide theext
parameter.The text was updated successfully, but these errors were encountered: