Attention
You are looking at outdated documentation for version 2.x. A newer version is available.
wsgidav.error_printer¶
Description
WSGI middleware to catch application thrown DAVErrors and return proper responses.
Classes
ErrorPrinter (application, config) |
Other Members
BaseMiddleware (application, config) |
Abstract base middleware class. |
DAVError (statusCode[, contextinfo, …]) |
General error class that is used to signal HTTP and WEBDAV errors. |
HTTP_INTERNAL_ERROR |
int(x=0) -> int or long int(x, base=10) -> int or long |
HTTP_NOT_MODIFIED |
int(x=0) -> int or long int(x, base=10) -> int or long |
HTTP_NO_CONTENT |
int(x=0) -> int or long int(x, base=10) -> int or long |
asDAVError (e) |
Convert any non-DAVError exception to HTTP_INTERNAL_ERROR. |
getHttpStatusString (v) |
Return HTTP response string, e.g. |
traceback |
Extract, format and print information about Python stack traces. |
util |
Miscellaneous support functions for WsgiDAV. |