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