Parses the input string into a ContentType object.
options |
a ParserOptions or null |
str |
input string containing a content-type (and params) |
a new ContentType object. |