Latest Version: 0.9.6.2

HTTPNotAcceptable


Attributes

a code

406

a comment

''

a detail

''

a explanation

'The server could not comply with the request since\r\nit is either malformed or otherwise incorrect.\r\n'

a template

'The resource could not be generated that was acceptable to your browser (content\r\nof type %(HTTP_ACCEPT)s).\r\n%(detail)s'

a title

'Not Acceptable'

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