mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
less is more
This commit is contained in:
parent
fbba6bfe06
commit
71a58289e2
@ -766,9 +766,7 @@ class FlowMaster(controller.Master):
|
||||
|
||||
def create_request(self, method, scheme, host, port, path):
|
||||
"""
|
||||
Creates a new request from params and add it to flow list.
|
||||
created request is empty (except for method and url) but is able
|
||||
to be replayed
|
||||
this method creates a new artificial and minimalist request also adds it to flowlist
|
||||
"""
|
||||
c = ClientConnection.from_state(dict(
|
||||
address=dict(address=(host, port), use_ipv6=False),
|
||||
|
Loading…
Reference in New Issue
Block a user