aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/test_request.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixup more testsShadab Zafar2016-02-181-4/+7
|
* Use host header values only when the ports matchShadab Zafar2016-02-181-2/+6
|
* Handle port numbers in host headerShadab Zafar2016-02-171-0/+4
| | | | from: https://github.com/mitmproxy/netlib/pull/121
* Fix failing unit tests caused by a69d223bWill Coster2016-02-151-4/+4
|
* Preserve host header when modifying request pathWill Coster2016-02-151-2/+7
| | | | | | | | | | | | | 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.
* move tests into shared folderMaximilian Hils2016-02-151-0/+238