mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
read_headers now returns an ODictCaseless object.
This commit is contained in:
parent
65487ead6d
commit
ddda57179a
@ -21,7 +21,7 @@ class PathodHandler(tcp.BaseHandler):
|
||||
return None
|
||||
|
||||
method, path, httpversion = http.parse_init_http(line)
|
||||
headers = odict.ODictCaseless(http.read_headers(self.rfile))
|
||||
headers = http.read_headers(self.rfile)
|
||||
content = http.read_http_body_request(
|
||||
self.rfile, self.wfile, headers, httpversion, None
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user