aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/wsgi.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-04-25 14:38:20 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-04-25 14:38:20 +1200
commit2fe54d17df90b1849f1685e2f6d7aa87e4d67d59 (patch)
treef70168ca89e49cece3a127b769f2ebf57b670126 /libmproxy/wsgi.py
parentefa98d514c6a8b6670d808f2bddb7158a6741ff0 (diff)
downloadmitmproxy-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/wsgi.py')
0 files changed, 0 insertions, 0 deletions