Function content_type_from_mime_type
Source pub fn content_type_from_mime_type(mime_type: &str) -> Option<GString>
Expand description
Tries to find a content type based on the mime type name.
§mime_type
a mime type string
§Returns
Newly allocated string with content type or
None
. Free with g_free()