mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
minor style fix
This commit is contained in:
parent
5c0d700839
commit
c075d33997
1 changed files with 4 additions and 4 deletions
|
|
@ -131,11 +131,11 @@ class NextLayer:
|
|||
return ret
|
||||
|
||||
# 3. Setup the HTTP layer for a regular HTTP proxy or an upstream proxy.
|
||||
if any([
|
||||
s(modes.HttpProxy),
|
||||
if (
|
||||
s(modes.HttpProxy) or
|
||||
# or a "Secure Web Proxy", see https://www.chromium.org/developers/design-documents/secure-web-proxy
|
||||
s(modes.HttpProxy, layers.ClientTLSLayer),
|
||||
]):
|
||||
s(modes.HttpProxy, layers.ClientTLSLayer)
|
||||
):
|
||||
if ctx.options.mode == "regular":
|
||||
return layers.HttpLayer(context, HTTPMode.regular)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue