mitmproxy/netlib/netlib
Will Coster a69d223b33 Preserve host header when modifying request path
Currently the path_components and query setters of the Request object
use the url setter under the hood. The url setter updates all parts of
the URL including the host. If the host header and the host in the
request URL are different (as is common when making HTTPS requests)
then the host header will be updated to the value in the URL as a
result of modifying the path.

This change fixes this problem by modifying the query and
path_components setters to not use the url setter and instead directly
update the path field.
2016-02-15 16:21:20 -08:00
..
http Preserve host header when modifying request path 2016-02-15 16:21:20 -08:00
websockets add netlib 2016-02-15 14:58:48 +01:00
__init__.py add netlib 2016-02-15 14:58:48 +01:00
certutils.py add netlib 2016-02-15 14:58:48 +01:00
encoding.py add netlib 2016-02-15 14:58:48 +01:00
exceptions.py add netlib 2016-02-15 14:58:48 +01:00
odict.py add netlib 2016-02-15 14:58:48 +01:00
socks.py add netlib 2016-02-15 14:58:48 +01:00
tcp.py adjust travis 2016-02-15 17:06:32 +01:00
tservers.py add netlib 2016-02-15 14:58:48 +01:00
tutils.py fix tests 2016-02-15 16:34:38 +01:00
utils.py fix tests 2016-02-15 16:34:38 +01:00
version_check.py add netlib 2016-02-15 14:58:48 +01:00
version.py fix release tool, refs #947 2016-02-16 00:22:38 +01:00
wsgi.py add netlib 2016-02-15 14:58:48 +01:00