Update proxyauth.py

This commit is contained in:
lymanZerga11 2017-03-08 13:59:43 +08:00 committed by GitHub
parent cf83cbf2df
commit 716306538f

View File

@ -155,7 +155,7 @@ class ProxyAuth:
def http_connect(self, f: http.HTTPFlow) -> None:
if self.enabled():
if self.authenticate(f):
self.authenticated[f.client_conn]=f.metadata["proxyauth"]
self.authenticated[f.client_conn] = f.metadata["proxyauth"]
def requestheaders(self, f: http.HTTPFlow) -> None:
if self.enabled():