aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/util
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/util')
-rw-r--r--libbe/util/wsgi.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/libbe/util/wsgi.py b/libbe/util/wsgi.py
index 2e97941..956fa5c 100644
--- a/libbe/util/wsgi.py
+++ b/libbe/util/wsgi.py
@@ -87,12 +87,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)