Fix variable name
Allow media type/subtype to be passed as first parameter
Do not enforce IANA process for primary media type
Add incomplete test for unimplemented media type parameters