diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-14 14:43:48 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-14 14:43:48 +0100 |
commit | efcfc62b73ac484ed25727f476c7ad0bb25817d5 (patch) | |
tree | 3910cd5d9afa96eab3119c59c84aa17628e27ea7 /libmproxy/web/app.py | |
parent | 5e65b933b291a4e53d27ce5671f776d828769f89 (diff) | |
download | mitmproxy-efcfc62b73ac484ed25727f476c7ad0bb25817d5.tar.gz mitmproxy-efcfc62b73ac484ed25727f476c7ad0bb25817d5.tar.bz2 mitmproxy-efcfc62b73ac484ed25727f476c7ad0bb25817d5.zip |
autopep8
Diffstat (limited to 'libmproxy/web/app.py')
-rw-r--r-- | libmproxy/web/app.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py index 2c45a1dc..4d940b5e 100644 --- a/libmproxy/web/app.py +++ b/libmproxy/web/app.py @@ -42,6 +42,7 @@ class APIError(tornado.web.HTTPError): class BasicAuth(object): + def set_auth_headers(self): self.set_status(401) self.set_header('WWW-Authenticate', 'Basic realm=MITMWeb') |