Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 2 bugs in MediaType parameter handling:
1. Make empty parameter values serialize to a quoted string. 2. Require parameter values to be ASCII. Fixes #3626 Relnotes: Made `MediaType` serialize empty parameter values to quoted strings. Made `MediaType` reject non-ASCII parameter values. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272190935
- Loading branch information
Showing
5 changed files
with
206 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
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