This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Commit 503d965
authored
Fix parsing of Accept header.
JSONAPI 1.0 specification says:
“Clients that include the JSON API media type in their Accept header MUST specify the media type there at least once without any media type parameters.”
That means, that there may be other acceptable MIME types, which the string comparison that was in place before prevented.
This should also help with issue #13.1 parent 426da16 commit 503d965
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments