aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1127 from mitmproxy/tcp-flowsThomas Kriechbaumer2016-05-235-12/+42
|\ | | | | mitmdump: Add Basic Support for TCP Flows
| * tests++Maximilian Hils2016-05-202-2/+32
| |
| * add FlowMaster.active_flowsMaximilian Hils2016-05-191-4/+1
| |
| * tests: finish connections properlyMaximilian Hils2016-05-191-0/+1
| |
| * fix tests, don't double-add error'd flowsMaximilian Hils2016-05-191-1/+3
| |
| * minor fixes, adjust testsMaximilian Hils2016-05-193-10/+10
| |
* | Merge branch 'mhils-multidict'Aldo Cortesi2016-05-2113-229/+342
|\ \
| * | Clean un-needed importsAldo Cortesi2016-05-211-2/+0
| | |
| * | A clearer implementation of MultiDictViewAldo Cortesi2016-05-211-2/+24
| | | | | | | | | | | | | | | | | | This makes MultiDictView work with a simple getter/setter pair, rather than using attributes with implicit leading underscores. Also move MultiDictView into multidict.py and adds some simple unit tests.
| * | Merge branch 'multidict' of https://github.com/mhils/mitmproxy into ↵Aldo Cortesi2016-05-2113-227/+320
| |\ \ | | | | | | | | | | | | mhils-multidict
| | * | tests++Maximilian Hils2016-05-202-98/+218
| | | |
| | * | improve MultiDict, add ImmutableMultiDict, adjust response.cookiesMaximilian Hils2016-05-184-25/+27
| | | |
| | * | test flow export with duplicate query stringMaximilian Hils2016-05-184-3/+21
| | | |
| | * | add MultiDictMaximilian Hils2016-05-189-103/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | We don't need 3 slightly different implementations of DataAldo Cortesi2016-05-213-3/+5
|/ / /
* | / tests: silence flaky pathod testMaximilian Hils2016-05-201-0/+1
| |/ |/|
* | Merge pull request #1152 from mhils/cleanup-odictThomas Kriechbaumer2016-05-191-10/+0
|\ \ | | | | | | clean up odict
| * | clean up odictMaximilian Hils2016-05-181-10/+0
| |/
* / tests: properly skip pathod testsMaximilian Hils2016-05-182-4/+4
|/
* tests: xfail -> skipMaximilian Hils2016-05-181-3/+3
|
* remove debug printThomas Kriechbaumer2016-05-171-1/+0
|
* http2: add connection-lost testThomas Kriechbaumer2016-05-171-0/+48
|
* Fix broken test_flow_export testsAldo Cortesi2016-05-181-34/+27
| | | | | | | - Make the tests safe for concurrency - Fix a test that only passed due to prior modification of global state This also fixes the project generally for parallel test execution.
* Clean up flow export testsAldo Cortesi2016-05-1811-262/+242
| | | | | - Externalise test data - Define a less finicky comparator for Python code
* fix naming which caused overwriting of functionsThomas Kriechbaumer2016-05-151-1/+1
|
* http2: improve header tests (#1143) (#1144)Thomas Kriechbaumer2016-05-141-6/+11
|
* Sanitize Print (#1135)Maximilian Hils2016-05-121-0/+15
| | | | | | | | * sanitize strings with shell control characters * netlib: add utilities to safe-print bytes * escaped str: add TODO for multi-byte chars
* disable http2 header encoding, use bytes everywhereThomas Kriechbaumer2016-05-111-2/+6
|
* Merge pull request #1121 from Kriechi/fix-cookiesThomas Kriechbaumer2016-05-114-5/+29
|\ | | | | improve cookie parsing
| * replace SimpleCookie with our own parser libThomas Kriechbaumer2016-05-111-1/+16
| |
| * improve cookie parsingThomas Kriechbaumer2016-05-103-4/+13
| | | | | | | | | | allows '/' to be within a cookie name removes deprecated cookie getter/setter fixes #1118
* | improve script loadingMaximilian Hils2016-05-113-18/+20
| |
* | 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
|
* stateobject: support listsMaximilian Hils2016-04-291-0/+63
|
* mitmdump: don't fail for other flowtypesMaximilian Hils2016-04-291-1/+1
|
* remove netlib version checkMaximilian Hils2016-04-291-13/+0
|
* FlowReadError -> FlowReadExceptionMaximilian Hils2016-04-292-8/+6
|
* support for setting/sending multiple cookies (#1091)Steven Van Acker2016-04-221-0/+19
| | | | | | * support for setting/sending multiple cookies * py.test for multiple cookie support
* silence flaky pathod testMaximilian Hils2016-04-211-0/+1
|
* downgrade pyparsing to fix #1087 and #1090Maximilian Hils2016-04-211-3/+9
|
* cleanup mitmproxy.controller, raise Kill in Channel (#1085)Maximilian Hils2016-04-144-18/+109
|
* py3++Maximilian Hils2016-04-133-6/+6
|
* peer_address -> ip_addressMaximilian Hils2016-04-111-1/+1
|
* server replay: keep --kill activeMaximilian Hils2016-04-092-12/+3
|
* Merge branch 'better-replace'Maximilian Hils2016-04-033-4/+23
|\
| * improve .replace() and move it into netlibMaximilian Hils2016-04-023-4/+23
| |
* | Merge pull request #1074 from mitmproxy/move-response-refreshThomas Kriechbaumer2016-04-033-32/+39
|\ \ | | | | | | move HTTPResponse.refresh into netlib