wsgidav.util.guess_mime_type

wsgidav.util.guess_mime_type(url)[source]

Use the mimetypes module to lookup the type for an extension.

This function also adds some extensions required for HTML5