Package: gdk

Function gdk:intern-mime-type

Lambda List

gdk:intern-mime-type (str)

Arguments

str -- a string for the potential MIME type

Return Value

The string for the canonicalized MIME type or nil if the string is not a valid MIME type.

Details

Canonicalizes the given MIME type and interns the result. If str is not a valid MIME type, nil is returned instead. See RFC 2048 for the syntax of MIME types.
2026-01-20