aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clean un-needed importsAldo Cortesi2016-05-211-2/+0
|
* A clearer implementation of MultiDictViewAldo Cortesi2016-05-216-108/+119
| | | | | | 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-2131-502/+873
|\ | | | | | | mhils-multidict
| * tests++Maximilian Hils2016-05-205-104/+232
| |
| * fix Header docsMaximilian Hils2016-05-201-3/+3
| |
| * docs++Maximilian Hils2016-05-181-0/+11
| |
| * improve MultiDict, add ImmutableMultiDict, adjust response.cookiesMaximilian Hils2016-05-1815-324/+433
| |
| * test flow export with duplicate query stringMaximilian Hils2016-05-184-3/+21
| |
| * add MultiDictMaximilian Hils2016-05-1823-265/+370
| | | | | | | | | | | | | | | | 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.
* | tests: silence flaky pathod testMaximilian Hils2016-05-201-0/+1
| |
* | minor improvementsMaximilian Hils2016-05-191-7/+12
| |
* | Update issue_template.mdMaximilian Hils2016-05-191-2/+2
| |
* | Merge pull request #1152 from mhils/cleanup-odictThomas Kriechbaumer2016-05-192-57/+34
|\ \ | | | | | | clean up odict
| * | clean up odictMaximilian Hils2016-05-182-57/+34
| |/
* | tests: properly skip pathod testsMaximilian Hils2016-05-182-4/+4
| |
* | display response reason in uiMaximilian Hils2016-05-181-3/+5
|/
* tests: xfail -> skipMaximilian Hils2016-05-181-3/+3
|
* remove debug printThomas Kriechbaumer2016-05-171-1/+0
|
* http2: cleanupThomas Kriechbaumer2016-05-171-22/+25
|
* Merge pull request #1126 from Kriechi/safeguardMaximilian Hils2016-05-174-13/+85
|\ | | | | Safeguard
| * http2: properly handle connection errorsThomas Kriechbaumer2016-05-173-13/+37
| |
| * 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
* Updated the docstring (#1150)Yoginski2016-05-171-1/+1
|
* fix encoding error on *too* random bytesThomas Kriechbaumer2016-05-151-1/+5
| | | | | | | | | | | | | | | This should fix things like: def __init__(self, val): self.val = val.decode("string_escape") ValueError: Trailing \ in string pathod/language/base.py:108: ValueError test/pathod/test_language_websocket.py:83: in fr return netlib.websockets.Frame.from_bytes(tutils.render(wf, settings)) test/pathod/tutils.py:123: in render r = r.resolve(settings) pathod/language/websockets.py:179: in resolve Key(base.TokValueLiteral(os.urandom(4)))
* fix naming which caused overwriting of functionsThomas Kriechbaumer2016-05-151-1/+1
|
* http2: improve header tests (#1143) (#1144)Thomas Kriechbaumer2016-05-141-6/+11
|
* Fixed HTTP2 headers being folded. (#1143) (#1144)Kostya Esmukov2016-05-141-1/+1
|
* added UI for options menu (#1130)Clemens Brunner2016-05-146-425/+692
| | | | | | | | | | | | | | | | | | | | | | * added UI for options menu * update UI for options menu * update UI for options v2 * update UI for options v2 * added new btn class * little changes * little changes * merge * deleted branch * change menu button class
* showing url for terminals that support clickable links when starting mitmweb ↵Jonathan Jones2016-05-141-0/+2
| | | | (#1141)
* bump python-hyper dependencies (#1139)Thomas Kriechbaumer2016-05-121-3/+2
|
* Sanitize Print (#1135)Maximilian Hils2016-05-123-9/+52
| | | | | | | | * sanitize strings with shell control characters * netlib: add utilities to safe-print bytes * escaped str: add TODO for multi-byte chars
* Merge pull request #1137 from Kriechi/h2-header-encodingThomas Kriechbaumer2016-05-112-6/+10
|\ | | | | disable http2 header encoding, use bytes everywhere
| * disable http2 header encoding, use bytes everywhereThomas Kriechbaumer2016-05-112-6/+10
| |
* | Adding example which turns every reponse into an HTTP 500. (#1136)Jason Pepas2016-05-112-0/+4
|/ | | | | | * Adding example which turns every reponse into an HTTP 500. * Prefer b"" over None for response.content.
* Merge pull request #1134 from mhils/fix-versionsThomas Kriechbaumer2016-05-112-2/+8
|\ | | | | Fix `version.NAME`
| * fix version.NAMEMaximilian Hils2016-05-112-2/+8
| |
* | Merge pull request #1121 from Kriechi/fix-cookiesThomas Kriechbaumer2016-05-119-61/+71
|\ \ | | | | | | improve cookie parsing
| * | replace SimpleCookie with our own parser libThomas Kriechbaumer2016-05-113-16/+35
| | |
| * | improve cookie parsingThomas Kriechbaumer2016-05-107-46/+37
| | | | | | | | | | | | | | | allows '/' to be within a cookie name removes deprecated cookie getter/setter fixes #1118
* | | Merge pull request #1132 from mhils/improve-script-loadingThomas Kriechbaumer2016-05-119-54/+76
|\ \ \ | | |/ | |/| Improve script loading
| * | improve script loadingMaximilian Hils2016-05-119-54/+76
|/ /
* | actually fix testsMaximilian Hils2016-05-101-2/+2
| |
* | Revert "fix tests"Maximilian Hils2016-05-107-84/+53
| | | | | | | | This reverts commit f315dc1eb9f4701548fd57bbb38de1e9caa34e40.
* | fix testsMaximilian Hils2016-05-107-53/+84
|/
* Merge pull request #1086 from Kriechi/h2-improvThomas Kriechbaumer2016-05-101-22/+7
|\ | | | | cleanup h2
| * cleanup h2 layerThomas Kriechbaumer2016-05-101-22/+7
|/
* fix #1120Maximilian Hils2016-05-093-1/+15
|
* fix mitmdump shutdownMaximilian Hils2016-05-081-1/+1
|