Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup of charset usage in Response #5807

Merged
merged 5 commits into from
Dec 21, 2020

Conversation

lachlan-roberts
Copy link
Contributor

Closes #5757

  • Improve documentation for EncodingFrom enum with relation to assumed vs inferred charsets.
  • Clean up code and simplify logic relating to charsets in Response.
  • Locale can now be cleared with setLocale(null) similar to how you would clear the charset, this will also clear the charset if it is EncodingFrom.LOCALE.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts merged commit 65a908b into jetty-10.0.x Dec 21, 2020
@lachlan-roberts lachlan-roberts deleted the jetty-10.0.x-5757-Charsets branch December 21, 2020 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review Inferred vs Assumed charsets
2 participants