aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/util
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/util')
-rw-r--r--libbe/util/wsgi.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/libbe/util/wsgi.py b/libbe/util/wsgi.py
index 2e97941..c509a48 100644
--- a/libbe/util/wsgi.py
+++ b/libbe/util/wsgi.py
@@ -20,7 +20,6 @@
See Also
--------
-:py:mod:`libbe.command.serve_storage` and
:py:mod:`libbe.command.serve_commands`.
"""
@@ -87,12 +86,6 @@ class HandlerError (Exception):
self.headers = headers
-class Unauthenticated (HandlerError):
- def __init__(self, realm, msg='User Not Authenticated', headers=[]):
- super(Unauthenticated, self).__init__(401, msg, headers+[
- ('WWW-Authenticate','Basic realm="{}"'.format(realm))])
-
-
class Unauthorized (HandlerError):
def __init__(self, msg='User Not Authorized', headers=[]):
super(Unauthorized, self).__init__(403, msg, headers)