Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | netlib: request.path can be None | Maximilian Hils | 2016-03-20 | 1 | -1/+6 |
| | |||||
* | Fixup more tests | Shadab Zafar | 2016-02-18 | 1 | -4/+7 |
| | |||||
* | Use host header values only when the ports match | Shadab Zafar | 2016-02-18 | 1 | -2/+6 |
| | |||||
* | Handle port numbers in host header | Shadab Zafar | 2016-02-17 | 1 | -0/+4 |
| | | | | from: https://github.com/mitmproxy/netlib/pull/121 | ||||
* | Fix failing unit tests caused by a69d223b | Will Coster | 2016-02-15 | 1 | -4/+4 |
| | |||||
* | Preserve host header when modifying request path | Will Coster | 2016-02-15 | 1 | -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 folder | Maximilian Hils | 2016-02-15 | 1 | -0/+238 |