aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* fix headers orderThomas Kriechbaumer2016-05-291-1/+1
|
* fix #1162Thomas Kriechbaumer2016-05-291-2/+5
|
* more style cleanupThomas Kriechbaumer2016-05-2952-86/+93
|
* more style cleanupThomas Kriechbaumer2016-05-2911-57/+63
| | | | Use this to check: flake8 --count mitmproxy netlib pathod examples test
* Merge pull request #1172 from cortesi/solidcoreAldo Cortesi2016-05-296-104/+104
|\ | | | | First steps to solidifying the core
| * handle_* -> *Aldo Cortesi2016-05-296-66/+58
| | | | | | | | | | Now that we have the controller.handler decorator, the _handler prefix stutters.
| * Explicitly list all eventsAldo Cortesi2016-05-291-2/+2
| |
| * Flatten ServerMaster into MasterAldo Cortesi2016-05-291-5/+2
| |
| * Merge branch 'master' into solidcoreAldo Cortesi2016-05-2918-28/+21
| |\
| * | Make @controller.handler inheritance-friendlyAldo Cortesi2016-05-281-4/+1
| | | | | | | | | | | | Use this to adapt mitmweb and mitproxy console
| * | Mandate that all handlers must be wrapped, make tests passAldo Cortesi2016-05-282-18/+26
| | | | | | | | | | | | mitmproxy, mitmdump and mitmweb masters still to be done
| * | Sketch out a more solid coreAldo Cortesi2016-05-283-15/+21
| | | | | | | | | | | | | | | - Decorator for handler methods - Stricter checking for double-acks and non-acks
* | | fix testsMaximilian Hils2016-05-284-5/+5
| |/ |/|
* | cleanup imports with flake8Thomas Kriechbaumer2016-05-2817-25/+18
| |
* | fix Python 2 testsMaximilian Hils2016-05-281-2/+2
| |
* | Py3: Use cStringIO from six.movesShadab Zafar2016-05-281-3/+3
|/
* Go Python 3 by default with the bytes conversionShadab Zafar2016-05-261-2/+4
|
* Remove inner_repr, fixup escape_unprintablesShadab Zafar2016-05-261-8/+4
|
* Py3: Handle bytes case in inner_reprShadab Zafar2016-05-261-0/+1
|
* bytes_to_escaped_str: always escape single quotesMaximilian Hils2016-05-252-1/+3
|
* escaped_str_to_bytes: support unicode on python 2Maximilian Hils2016-05-251-3/+6
|
* 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