-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Specifying content encoding when not necessary #7987
Comments
I'm pretty sure we are already doing that. We used to send |
I saw it in the Travis logs for my PR TechEmpower/FrameworkBenchmarks#3034 to upgrade one of the projects to Play 2.6.6 |
Actually, you're right. There is different logic for the Java I also found it a bit odd that that project is using a controller annotation for something that could be done in a filter: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Java/play2-java/play2-java/app/utils/Headers.java. Not sure if that affects the performance. |
Turns out there is no need anymore to set the
The |
I'm wondering if we should stop specifying the charset and let utf-8 be assumed? TechEmpower is suggesting we would do better on there benchmarks that way. I'm not sure if there are other considerations
The text was updated successfully, but these errors were encountered: