aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/test_request.py
Commit message (Collapse)AuthorAgeFilesLines
* The final piece: netlib -> mitproxy.netAldo Cortesi2016-10-201-271/+0
|
* netlib.tutils -> mitmproxy.test.tutilsAldo Cortesi2016-10-201-1/+1
| | | | There's a LOT more to be done refactoring our different conflicting test utils.
* addons.Addons -> addonmanager, builtins -> addonsAldo Cortesi2016-10-191-1/+1
|
* python3: clean up super and __future__Aldo Cortesi2016-10-171-1/+0
|
* python3: clean up class bracketsAldo Cortesi2016-10-171-3/+3
|
* Zap object base classAldo Cortesi2016-10-171-3/+3
|
* test & examples: zap sixAldo Cortesi2016-10-171-6/+0
|
* Lint fix - replace testsarjun234962016-08-311-2/+3
|
* Added tests for replace in request,message,headerarjun234962016-08-311-1/+10
|
* py3++Maximilian Hils2016-07-071-4/+4
|
* fix testsMaximilian Hils2016-05-281-1/+1
|
* Clean un-needed importsAldo Cortesi2016-05-211-2/+0
|
* improve MultiDict, add ImmutableMultiDict, adjust response.cookiesMaximilian Hils2016-05-181-2/+2
|
* add MultiDictMaximilian Hils2016-05-181-31/+30
| | | | | | | | This commit introduces MultiDict, a multi-dictionary similar to ODict, but with improved semantics (as in the Headers class). MultiDict fixes a few issues that were present in the Request/Response API. In particular, `request.cookies["foo"] = "bar"` has previously been a no-op, as the cookies property returned a mutable _copy_ of the cookies.
* Merge pull request #1121 from Kriechi/fix-cookiesThomas Kriechbaumer2016-05-111-1/+1
|\ | | | | improve cookie parsing
| * improve cookie parsingThomas Kriechbaumer2016-05-101-1/+1
| | | | | | | | | | allows '/' to be within a cookie name removes deprecated cookie getter/setter fixes #1118
* | actually fix testsMaximilian Hils2016-05-101-2/+2
| |
* | Revert "fix tests"Maximilian Hils2016-05-101-2/+2
| | | | | | | | This reverts commit f315dc1eb9f4701548fd57bbb38de1e9caa34e40.
* | fix testsMaximilian Hils2016-05-101-2/+2
|/
* fix #1120Maximilian Hils2016-05-091-0/+12
|
* netlib: request.path can be NoneMaximilian Hils2016-03-201-1/+6
|
* 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