mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
Update proxyauth.py
This commit is contained in:
parent
cf83cbf2df
commit
716306538f
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user