[][src]Function rustyknife::rfc2231::content_type

pub fn content_type(
    input: &[u8]
) -> NomResult<'_, (String, Vec<(String, String)>)>

Parse a MIME "Content-Type" header.

Returns a tuple of the MIME type and parameters.