diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-25 18:24:18 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-25 18:24:18 +0200 |
commit | 45f2ea33b2fdb67ca89e7eedd860ebe683770497 (patch) | |
tree | 3d6be081914c3ab58d26e8bc82c494e159c17e30 /netlib/utils.py | |
parent | c7b83225001505b32905376703ec7ddaf200af44 (diff) | |
download | mitmproxy-45f2ea33b2fdb67ca89e7eedd860ebe683770497.tar.gz mitmproxy-45f2ea33b2fdb67ca89e7eedd860ebe683770497.tar.bz2 mitmproxy-45f2ea33b2fdb67ca89e7eedd860ebe683770497.zip |
minor fixes
Diffstat (limited to 'netlib/utils.py')
-rw-r--r-- | netlib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/utils.py b/netlib/utils.py index d5b30128..6f6d1ea0 100644 --- a/netlib/utils.py +++ b/netlib/utils.py @@ -337,7 +337,7 @@ def multipartdecode(headers, content): """ Takes a multipart boundary encoded string and returns list of (key, value) tuples. """ - v = headers.get("Content-Type") + v = headers.get("content-type") if v: v = parse_content_type(v) if not v: |