contentTypeFromMimeType

fnstring contentTypeFromMimeType(string mimeType)

Tries to find a content type based on the mime type name.

Parameters

mimeTypea mime type string

Returns

Newly allocated string with content type or

null. Free with [glib.global.gfree]