Latest Version: 0.9.6.2

HTTPServerError

base class for the 500's, where the server is in-error

This is an error condition in which the server is presumed to be in-error. This is usually unexpected, and thus requires a traceback; ideally, opening a support ticket for the customer. Unless specialized, this is a '500 Internal Server Error'


Attributes

a code

500

a comment

''

a detail

''

a explanation

'The server has either erred or is incapable of performing\r\nthe requested operation.\r\n'

a template

'%(explanation)s\r\n<br/>%(detail)s\r\n<!-- %(comment)s -->'

a title

'Internal Server Error'

Methods

f __call__(self, environ, start_response, exc_info=None) ...

This exception as a WSGI application

f __getitem__(...) ...

f __init__(self, detail=None, headers=None, comment=None) ...

f html(self, environ) ...

text/html representation of the exception

f make_body(self, environ, template, escfunc, comment_escfunc=None) ...

f plain(self, environ) ...

text/plain representation of the exception

f prepare_content(self, environ) ...

f response(self, environ) ...

f wsgi_application(self, environ, start_response, exc_info=None) ...

This exception as a WSGI application

See the source for more information.

Top