diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-04-25 14:38:20 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-04-25 14:38:20 +1200 |
commit | 2fe54d17df90b1849f1685e2f6d7aa87e4d67d59 (patch) | |
tree | f70168ca89e49cece3a127b769f2ebf57b670126 /libmproxy/dump.py | |
parent | efa98d514c6a8b6670d808f2bddb7158a6741ff0 (diff) | |
download | mitmproxy-2fe54d17df90b1849f1685e2f6d7aa87e4d67d59.tar.gz mitmproxy-2fe54d17df90b1849f1685e2f6d7aa87e4d67d59.tar.bz2 mitmproxy-2fe54d17df90b1849f1685e2f6d7aa87e4d67d59.zip |
Don't specify Content-Length on empty content.
Sometimes, mitmproxy would specify a content-length header value of 0 when
content was empty. Some rare servers (like piratebay.org) would barf on this.
Diffstat (limited to 'libmproxy/dump.py')
0 files changed, 0 insertions, 0 deletions