Attention

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

5.5.3.1.6. wsgidav.error_printer

WSGI middleware to catch application thrown DAVErrors and return proper responses.

See Developers info for more information about the WsgiDAV architecture.

Functions

asDAVError(e) Convert any non-DAVError exception to HTTP_INTERNAL_ERROR.
getHttpStatusString(v) Return HTTP response string, e.g.

Classes

ErrorPrinter(application, config)

Exceptions

DAVError(statusCode[, contextinfo, …])