nsINetUtil provides various network-related utility methods.
[scriptable, uuid(f0c5dddb-4713-4603-af2d-bf671838996b)]
Methods
Parse a content-type header and return the content type and
charset (if any).
@param aTypeHeader the header string to parse
@param [out] aCharset the charset parameter specified in the
header, if any.
@param [out] aHadCharset whether a charset was explicitly specified.
@return the MIME type specified in the header, in lower-case.
Compare to:
