Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently MediaType.parse will throw a null pointer exception if you pass it something like "text; charset=utf-8", instead of returning null.
Also, it should handle the "charset first" form that some broken servers return, i.e. "charset=utf-8; text/html"