contentTypeGetMimeType

fnstring contentTypeGetMimeType(string type)

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

Parameters

typea content type string

Returns

the registered mime type for the

given type, or null if unknown; free with [glib.global.gfree].