diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-06-24 21:49:43 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-06-24 21:49:43 +1200 |
commit | ddda57179adcdab4f005efb90bd1d009819529b8 (patch) | |
tree | dcfaf11f8bd61cf53ab84d8d23b97f065f055596 | |
parent | 65487ead6d44970fa13740284a58a703dfd39eac (diff) | |
download | mitmproxy-ddda57179adcdab4f005efb90bd1d009819529b8.tar.gz mitmproxy-ddda57179adcdab4f005efb90bd1d009819529b8.tar.bz2 mitmproxy-ddda57179adcdab4f005efb90bd1d009819529b8.zip |
read_headers now returns an ODictCaseless object.
-rw-r--r-- | libpathod/pathod.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py index 6fc0d204..e35769b1 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -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 ) |