Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.util.guessMimeType

wsgidav.util.guessMimeType(url)[source]

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

This function also adds some extensions required for HTML5