diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2020-01-02 21:23:16 +0000 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2020-01-02 21:23:16 +0000 |
commit | 5e1b5fe911d4805133357e329d009f998300867d (patch) | |
tree | dff1a7d12784fa9cf689452f0a122c14c3c63550 /libbe/util | |
parent | adee3a503a9b07a73676e65df3af2c9abc8f2acf (diff) | |
parent | 320908419788ca67f81cb869bed7249dab1be8a4 (diff) | |
download | bugseverywhere-5e1b5fe911d4805133357e329d009f998300867d.tar.gz |
Merge branch '2dd5488e-2053-4a16-a853-d7cc7bd48831' into 'master'
Remove serve-storage and HTTP storage driver
See merge request bugseverywhere/bugseverywhere!10
Diffstat (limited to 'libbe/util')
-rw-r--r-- | libbe/util/wsgi.py | 7 |
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) |