aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxyAldo Cortesi2015-04-142-0/+21
|\
| * spaces, not tabsMaximilian Hils2015-04-122-5/+9
| |
| * add flowwriter exampleMaximilian Hils2015-04-121-0/+17
| |
* | Housekeeping and cleanupsAldo Cortesi2015-04-141-2/+1
|/ | | | | | | | - No output to stdout on load in examples - they muck up the test suite. - Use the odict module directly, rather than aliasing it. The small convenience this gives to scripters is not worth it. - Move the cookie tests from the flow test module to the protocol_http test module.
* Merge pull request #544 from ryoqun/websocket-connection-header-case-sensitivityMaximilian Hils2015-04-081-1/+2
|\ | | | | Make the Websocket's connection header value case-insensitive
| * Make the Websocket's connection header value case-insensitiveRyo Onodera2015-03-311-1/+2
| |
* | add example which uses filtMaximilian Hils2015-04-082-0/+16
|/
* fix #319Maximilian Hils2015-02-271-8/+11
|
* Merge remote-tracking branch 'sakurai/feature/issue319'Maximilian Hils2015-02-271-0/+19
|\
| * Modify example to notify incompatibility with --stream SIZE command lineYouhei Sakurai2015-02-271-0/+8
| | | | | | option; https://github.com/mitmproxy/mitmproxy/issues/319
| * Maybe it should work; https://github.com/mitmproxy/mitmproxy/issues/319Youhei Sakurai2015-02-271-0/+11
| |
* | add example inline script for dns spoofing, refs #486Maximilian Hils2015-02-272-0/+36
|/
* Clean up har_extractor exampleAldo Cortesi2015-01-021-54/+76
| | | | | - Fix spacing, line length, unused imports, unusual import idioms - Prevent it from barfing into our test output
* fix testsMaximilian Hils2014-12-011-8/+15
|
* Merge branch 'master' of github.com:mitmproxy/mitmproxyMaximilian Hils2014-12-011-1/+1
|\
| * Changed argument name from confdir to cadir in flowbasic exampleGabriel Kirkpatrick2014-11-281-1/+1
| |
* | add inline script example for websocket passthrough, fix #340Maximilian Hils2014-12-011-0/+27
|/
* Added try/except block for import errors with harparser and pytz.Justus Wingert2014-11-151-2/+8
|
* Updated setup.py and moved requirements to examples section. Included ↵Justus Wingert2014-11-151-14/+22
| | | | examples section in requirements.txt. Updated har_extractor to use command line arguments.
* Switched to pytz. Added comment for clarification on behaviour of ↵Justus Wingert2014-11-151-15/+8
| | | | HAREncodable. Added missing parameter in reset(). Fixed accessing headers.
* It seems get_decoded_content can actually be shorter than content due to ↵Justus Wingert2014-11-151-1/+1
| | | | encoding issues. Since I'm not crazy after all it seems safe to push.
* Removed the globals and replaced them with internal attributes of _HARLog. ↵Justus Wingert2014-11-151-34/+46
| | | | Minor bugfixes to make ssl timings work.
* Typo...Justus Wingert2014-11-151-1/+1
|
* Improved helper method, marginally.Justus Wingert2014-11-151-4/+4
|
* Updated documentation and cleaned up the code.Justus Wingert2014-11-151-105/+91
|
* Initial checkin with har_extractor script.Justus Wingert2014-11-151-0/+207
|
* update change_upstream_proxy exampleMaximilian Hils2014-11-101-2/+2
|
* remove default_caMaximilian Hils2014-10-182-5/+2
|
* fix support for chained certificatesMaximilian Hils2014-10-082-2/+2
|
* Clean up and clarify StateObjectAldo Cortesi2014-09-171-2/+2
| | | | | | | | | - Flatten the class hierarchy - get_state, load_state, from_state are public - Simplify code - Remove __eq__ and __neq__. This fundamentally changes the semantics of inherited objects in a way that's not part of the core function of the class
* update iframe injector example to use BeautifulSoupMaximilian Hils2014-09-121-6/+10
|
* mitmproxy -> libmproxy.main. do some leanup on the wayMaximilian Hils2014-09-082-3/+5
|
* update examples, fix #353Maximilian Hils2014-09-0818-132/+135
|
* add note that request.host should be used in the majority of casesMaximilian Hils2014-09-071-0/+3
|
* improve change_server api, add example how to change the upstream serverMaximilian Hils2014-09-071-0/+17
|
* update docs, mostly revert 2f44b26b4cd014e03dd62a125d79af9b81663a93Maximilian Hils2014-09-0510-27/+32
|
* iframe injector example: use inline scriptMaximilian Hils2014-09-052-50/+18
|
* Merge branch 'issue_341' into server_change_apiMaximilian Hils2014-09-041-1/+1
|\ | | | | | | | | | | Conflicts: examples/redirect_requests.py libmproxy/console/common.py
| * fix some leftoversMaximilian Hils2014-09-041-1/+1
| |
* | improve HTTPRequest syntaxMaximilian Hils2014-09-033-7/+7
|/
* fix #341 - work on flows instead of request/response internally.Maximilian Hils2014-09-032-12/+12
|
* fix #274Maximilian Hils2014-08-091-2/+2
|
* docs: add docs for script args, fix #293Maximilian Hils2014-08-071-4/+3
|
* improve example scriptsMaximilian Hils2014-08-031-3/+2
|
* Merge branch 'stream'Maximilian Hils2014-07-312-0/+14
|\ | | | | | | | | Conflicts: libmproxy/protocol/http.py
| * add --stream options, various fixesMaximilian Hils2014-07-212-0/+14
| |
* | fix testsMaximilian Hils2014-07-261-2/+1
| |
* | add example how to replace response body contentsMaximilian Hils2014-07-261-0/+18
|/
* fix #253Maximilian Hils2014-05-152-7/+6
|
* Fixed palette forced to light in mitmproxywrapper.pyJean Regisser2014-03-261-1/+0
|