Parses the Content-Type header and also parses any parameters in the header.
BadRequestHttpError Thrown on invalid header syntax.
The Content-Type header string.
A ContentType object containing the value and optional parameters.
Parses the Content-Type header and also parses any parameters in the header.
Throws
BadRequestHttpError Thrown on invalid header syntax.