Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore parameters when checking if */* is accepted
Previously the parameters were not ignored so */*;q=0.8 was not identified as accepting */*. As a result, the most recent producible content type was returned rather than the default. This commit updates the argument resolver to ignore parameters. The default content type is now produced in response to a request that accepts */*, irrespective of its parameters. Fixes gh-28446
- Loading branch information
1 parent
ce38d59
commit b375f9f
Showing
2 changed files
with
17 additions
and
8 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