pub fn content_type_get_mime_type(type_: &str) -> Option<GString>
Expand description

Gets the mime type for the content type, if one is registered.

type_

a content type string

Returns

the registered mime type for the given type_, or None if unknown; free with g_free().