fix proxy authorization bug, refs #988
This commit is contained in:
parent
423c076c61
commit
02ba76ea09
|
@ -184,7 +184,7 @@ class HttpLayer(Layer):
|
|||
flow.request = request
|
||||
# set upstream auth
|
||||
if self.mode == "upstream" and self.config.upstream_auth is not None:
|
||||
self.data.headers["Proxy-Authorization"] = self.config.upstream_auth
|
||||
flow.request.headers["Proxy-Authorization"] = self.config.upstream_auth
|
||||
self.process_request_hook(flow)
|
||||
|
||||
if not flow.response:
|
||||
|
|
Loading…
Reference in New Issue