https://bz.apache.org/bugzilla/show_bug.cgi?id=61917

--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> ---
Please note that you have to adhere to specifications.

The mime-types have official specifications for them and are registered with
IANA,
https://www.iana.org/assignments/media-types/media-types.xhtml

The application/json mime-type DOES NOT have charset parameter,
https://www.iana.org/assignments/media-types/application/json

The application/javascript has charset parameter,
though I am not sure whether it is actually respected by clients.
https://www.iana.org/assignments/media-types/application/javascript
https://tools.ietf.org/html/rfc4329#section-4.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to