aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* update examples, tests, docsMaximilian Hils2016-06-1311-26/+31
|
* Simplify script concurrency helpersAldo Cortesi2016-06-081-2/+2
| | | | We now have take() to prevent double-replies.
* A new interface for replyAldo Cortesi2016-06-082-2/+2
| | | | | | | | | | | Reply is now explicit - it's no longer a callable itself. Instead, we have: reply.kill() - kill the flow reply.ack() - ack, but don't send anything reply.send(message) - send a response This is part of an incremental move to detach reply from our flow objects, and unify the script and handler interfaces.
* Shift a bunch more string-related functions to strutilsAldo Cortesi2016-06-021-2/+3
|
* Utils reorganisation: add netlib.strutilsAldo Cortesi2016-06-021-2/+2
| | | | Extract a number of string and format-related functions to netlib.strutils.
* handle_* -> * leftoversMaximilian Hils2016-05-291-2/+2
|
* more style cleanupThomas Kriechbaumer2016-05-291-1/+1
| | | | Use this to check: flake8 --count mitmproxy netlib pathod examples test
* change comment indentationThomas Kriechbaumer2016-05-291-3/+3
|
* Merge pull request #1173 from mitmproxy/format-examplesThomas Kriechbaumer2016-05-2911-23/+28
|\ | | | | Format examples
| * format examplesMaximilian Hils2016-05-2911-23/+28
| |
* | Update method names in /examples/flowbasicAldo Cortesi2016-05-291-2/+2
|/ | | | Please enter the commit message for your changes. Lines starting
* Adapt examplesAldo Cortesi2016-05-292-11/+8
|
* improve MultiDict, add ImmutableMultiDict, adjust response.cookiesMaximilian Hils2016-05-181-1/+1
|
* add MultiDictMaximilian Hils2016-05-182-8/+8
| | | | | | | | 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.
* 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.
* FlowReadError -> FlowReadExceptionMaximilian Hils2016-04-291-2/+3
|
* py3++Maximilian Hils2016-04-132-3/+3
|
* response.msg -> response.reasonMaximilian Hils2016-04-021-1/+1
|
* py3++: iteritemsMaximilian Hils2016-03-201-1/+2
|
* py3++: cStringIOMaximilian Hils2016-03-201-3/+3
|
* Update modify_response_body.pycle10002016-03-151-1/+1
| | | fix typo
* Use the contextmanager in all testsShadab Zafar2016-03-111-0/+0
|
* Add test for iframe_injector exampleShadab Zafar2016-03-111-1/+1
|
* Update modify_querystring example & add test for itShadab Zafar2016-03-111-3/+2
|
* Update modify_form example to not use deprecated functionsShadab Zafar2016-03-111-3/+3
|
* fix content view example inline scriptMaximilian Hils2016-03-101-1/+1
|
* Fix pprint importShadab Zafar2016-03-041-1/+1
|
* Use default empty page_listShadab Zafar2016-03-041-2/+2
|
* Add basic test for har_extractorShadab Zafar2016-03-041-0/+0
|
* Remove some duplication and make more pythonic har_extractorShadab Zafar2016-03-021-81/+59
|
* Fixup HAR ExtractorShadab Zafar2016-03-011-9/+20
|
* har_extractor: Replace deprecated stuff with recommended onesShadab Zafar2016-02-201-3/+3
|
* har_extractor: Use items() instead of iteritems()Shadab Zafar2016-02-201-2/+2
|
* Pull bin to the top, move pathod examples to examples dirAldo Cortesi2016-02-184-0/+100
|
* Docs and examples to top levelAldo Cortesi2016-02-1827-0/+1171
|
* move mitmproxyMaximilian Hils2016-02-1527-1171/+0
|
* Merge pull request #872 from bazzinotti/inline-tcpMaximilian Hils2016-01-171-0/+24
|\ | | | | Add "tcp_message" Inline Script Hook
| * Add Inline Script Hooks to TCP modeMichael J. Bazzinotti2016-01-101-0/+24
| |
* | no longer strips Accept-Encoding as mitmproxy can handle compressionNiko Kommenda2016-01-121-1/+0
| |
* | added sslstrip to inline script examplesNiko Kommenda2016-01-121-0/+41
| |
* | Update redirect_requests.pyStefan Wärting2016-01-081-2/+2
|/ | | replace http version with "HTTP/1.1"
* minor stylistic fixesMaximilian Hils2015-11-141-11/+13
|
* Feedback from PR #832Chris Czub2015-11-131-0/+66
|
* adjust to netlib request changes + docsMaximilian Hils2015-09-262-6/+5
|
* code -> status_code, httpversion -> http_versionMaximilian Hils2015-09-171-4/+3
|
* use new netlib exceptionsMaximilian Hils2015-09-171-2/+2
|
* adjust to netlib changesMaximilian Hils2015-09-161-1/+1
|
* add inline script for conditional tls passthroughMaximilian Hils2015-09-082-0/+140
| | | | fix #646
* adjust to new netlib Headers classMaximilian Hils2015-09-056-17/+16
|
* update example inline scriptsMaximilian Hils2015-09-049-26/+19
|