aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | minor fixesMaximilian Hils2016-07-131-1/+1
| |
* | make options explicitMaximilian Hils2016-07-137-21/+32
| |
* | Stream to file -> addonAldo Cortesi2016-07-144-75/+104
| | | | | | | | | | This commit also clarifies a confusion about the "outfile" attribute and its use in testing in the mitmdump master.
* | Fix indeterminacy in sticky cookie testsAldo Cortesi2016-07-141-6/+9
| | | | | | | | How has this not bitten us before?
* | StickyCookies to addonAldo Cortesi2016-07-142-102/+118
| |
* | AntiCache to addonAldo Cortesi2016-07-142-10/+23
| |
* | Add a .setter helper to OptionsAldo Cortesi2016-07-141-3/+11
| | | | | | | | | | This returns a function that sets a named attribute, and is handy for event-driven code like mitmproxy console.
* | Move StickyAuth into addonAldo Cortesi2016-07-142-34/+23
| | | | | | | | | | This is the first addon that handles an OptionsError, so this commit also demos how this works in console. Handling of command-line erorrs is on its way.
* | Add the addons mechanismAldo Cortesi2016-07-134-2/+29
| | | | | | | | | | Demonstrate how it works and interacts with Options by adding our first new builtin: anticomp.
* | Basic outline of addonsAldo Cortesi2016-07-135-23/+43
| | | | | | | | | | Add addons.py, integrate with our event mechanism, and change the Master API so options is the first init argument.
* | More powerful Options schemeAldo Cortesi2016-07-131-0/+67
| | | | | | | | | | | | | | | | | | | | | | This prepares us for the addon configuration mechanism and gives us a more flexible way to handle options changes. This changeset should spell the end of the current anti-pattern in our codebase where we duplicate data out of options onto the master when mutability is needed. From now on, Options can be the one source of thruth. - Change notifications - Rollback on error
* | http2: fix race-condition in testsThomas Kriechbaumer2016-07-121-1/+1
| |
* | http2: more coverageThomas Kriechbaumer2016-07-101-19/+201
| |
* | http2: simplify test classThomas Kriechbaumer2016-07-101-65/+22
| |
* | Remove redundant testsShadab Zafar2016-07-101-12/+0
| |
* | Test cookies.is_expired separatelyShadab Zafar2016-07-101-0/+21
| |
* | Add tests for deletion of stickycookiesShadab Zafar2016-07-091-2/+26
| |
* | Make escape_control_characters handle strings on Py2Shadab Zafar2016-07-091-2/+3
| |
* | Set verbosity & flow_detail to 0Shadab Zafar2016-07-091-0/+12
| |
* | py3++Shadab Zafar2016-07-091-18/+23
| |
* | Merge pull request #1327 from mitmproxy/remove-script-contextMaximilian Hils2016-07-0815-75/+68
|\ \ | | | | | | Remove script context
| * | move script context to mitmproxy.ctxMaximilian Hils2016-07-083-12/+12
| | |
| * | remove script contextsMaximilian Hils2016-07-075-48/+38
| | |
| * | remove context from all scriptsMaximilian Hils2016-07-0710-27/+30
| | |
* | | py3++Maximilian Hils2016-07-082-1/+5
| | |
* | | Updated coding style and modified flow format compat test to use v0.11 and ↵jpkrause2016-07-085-72/+2
|/ / | | | | | | v0.10 dump files
* | tests++Maximilian Hils2016-07-071-0/+15
| |
* | py3++Maximilian Hils2016-07-074-15/+15
| |
* | py3++Maximilian Hils2016-07-072-84/+87
| |
* | py3++Thomas Kriechbaumer2016-07-071-6/+6
| |
* | py3++: test_protocol_http2Shadab Zafar2016-07-071-3/+3
| |
* | disable harparser on py3Maximilian Hils2016-07-071-0/+7
| |
* | Merge pull request #1318 from mhils/tnetstring3-unicode-typeThomas Kriechbaumer2016-07-074-25/+21
|\ \ | | | | | | [tests actually pass] Add unicode to tnetstring3
| * | sni is now str, not bytesMaximilian Hils2016-07-064-19/+19
| | |
| * | fix testsMaximilian Hils2016-07-062-2/+2
| | |
| * | tnetstring3: adapt to unicode supportMaximilian Hils2016-07-061-6/+2
| | |
| * | tnetstring: keys are str on py3. migrate flow.io_compatMaximilian Hils2016-07-061-2/+2
| | |
* | | Detect JSON API media type as a json content viewLinmiao Xu2016-07-061-0/+7
|/ / | | | | | | | | | | | | | | IANA assignment here: https://www.iana.org/assignments/media-types/application/vnd.api+json More about JSON API: https://github.com/json-api/json-api
* | py3++, multidict fixesMaximilian Hils2016-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This commit improves Python 3 compatibility and fixes two multidict issues: 1. Headers.items(multi=True) now decodes fields 2. MultiDict.clear(item) has been removed, as Python's MutableMapping already defines .clear() with different semantics. This is confusing for everyone who expects a dict-like object. `.pop("attr", None)` is not fantastic, but it's the Python way to do it.
* | py3++Maximilian Hils2016-07-062-16/+9
| |
* | Merge pull request #1315 from mitmproxy/better-unicode-handlingMaximilian Hils2016-07-051-15/+25
|\ \ | | | | | | remove clean_bin, clarify unicode handling
| * | remove clean_bin, clarify unicode handlingMaximilian Hils2016-07-051-15/+25
| | |
* | | Merge pull request #1297 from dufferzafar/py3-flow-exportMaximilian Hils2016-07-052-5/+5
|\ \ \ | |/ / |/| | Python 3 - test_flow_export
| * | py3++: test_flow_exportShadab Zafar2016-07-022-5/+5
| | |
* | | http2: test fatal connection terminationThomas Kriechbaumer2016-07-051-1/+52
| | |
* | | http2: test throttling at MAX_CONCURRENT_STREAMSThomas Kriechbaumer2016-07-052-6/+80
| | |
* | | http2: Remove TestReadRequestConnect testShadab Zafar2016-07-031-31/+0
|/ /
* / fix lint issuesShadab Zafar2016-07-021-2/+0
|/
* minor fixesMaximilian Hils2016-07-011-5/+5
|
* fix tcp message handlingMaximilian Hils2016-07-012-5/+4
|