forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1847701 - Accept-language format should be language-region format…
… like Dekstop and Chrome/Android. r=geckoview-reviewers,necko-reviewers,platform-i18n-reviewers,valentin As spec (RFC 7231), accept-language can accept language tag (BCP 47). Currently, Firefox Android uses `Locale.toLanguageTag` API. But it may append variant and extensions etc. But Chrome/Android and desktop browser use <language>-<region> format for this header, so we should use same format for compatibility. Differential Revision: https://phabricator.services.mozilla.com/D203121
- Loading branch information
1 parent
0b8a496
commit ef11d24
Showing
3 changed files
with
19 additions
and
25 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