mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Fix call signature in pathoc.
This commit is contained in:
parent
33820d9aee
commit
b66be24149
@ -205,7 +205,7 @@ class Pathoc(tcp.TCPClient):
|
|||||||
r,
|
r,
|
||||||
self.wfile,
|
self.wfile,
|
||||||
self.settings,
|
self.settings,
|
||||||
requets_host = self.address.host
|
request_host = self.address.host
|
||||||
)
|
)
|
||||||
self.wfile.flush()
|
self.wfile.flush()
|
||||||
resp = list(
|
resp = list(
|
||||||
@ -290,7 +290,7 @@ def main(args): # pragma: nocover
|
|||||||
)
|
)
|
||||||
if args.explain or args.memo:
|
if args.explain or args.memo:
|
||||||
playlist = [
|
playlist = [
|
||||||
i.freeze(p.settings, p.address.host) for i in playlist
|
i.freeze(p.settings, request_host=p.address.host) for i in playlist
|
||||||
]
|
]
|
||||||
if args.memo:
|
if args.memo:
|
||||||
newlist = []
|
newlist = []
|
||||||
|
Loading…
Reference in New Issue
Block a user