mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
request is absolute
This commit is contained in:
@@ -767,7 +767,7 @@ class FlowMaster(controller.Master):
|
||||
f = http.HTTPFlow(None,None);
|
||||
headers = ODictCaseless()
|
||||
|
||||
req = http.HTTPRequest("relative", method, scheme, host, port, path, (1, 1), headers, None,
|
||||
req = http.HTTPRequest("absolute", method, scheme, host, port, path, (1, 1), headers, None,
|
||||
None, None, None)
|
||||
f.request = req
|
||||
return self.load_flow(f)
|
||||
|
||||
Reference in New Issue
Block a user