Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve quoted parameters in mime types
Accept headers allow parameters to be passed. They can contain quotes that need to be handled differently. These quoted strings can contain commas, which are not considered as delimiters of accept headers. Additionally, all parameters before the q-parameter should be used to lookup the media-type as well. If no media-type with the parameters is found, a fallback is introduced to the media-type without any parameters to keep the same functionality as before. Fix #48052
- Loading branch information
1 parent
d026af4
commit 1071a39
Showing
4 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters