Latest Version: 0.9.6.2

HTTPUnauthorized


Attributes

a code

401

a comment

''

a detail

''

a explanation

'This server could not verify that you are authorized to\r\naccess the document you requested.  Either you supplied the\r\nwrong credentials (e.g., bad password), or your browser\r\ndoes not understand how to supply the credentials required.\r\n'

a template

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

a title

'Unauthorized'

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