MediaType.parse should be more forgiving of broken input
--------------------------------------------------------
Key: TIKA-351
URL: https://issues.apache.org/jira/browse/TIKA-351
Project: Tika
Issue Type: Improvement
Reporter: Ken Krugler
Fix For: 0.6
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"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.