mitmproxy/examples/simple
harsh vijay e24b4cc1b6 Extend Mypy checking to pathod
* mypy checking pathod

* initial commit , fixed errors

* tox: mypy checking to pathod

* Fixed mypy test failed

* issue was with args in custom_contentview.py

* tox: mypy checking to #2221

* follow-import=skip since we cant provide args to custom_contentview.py during mypy testing

* Lint , Typo Fixed

* code style: module import
2017-05-02 05:19:25 +05:30
..
add_header_class.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
add_header.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
custom_contentview.py Extend Mypy checking to pathod 2017-05-02 05:19:25 +05:30
custom_option.py configure(options, updated) -> configure(updated) 2017-04-26 11:01:27 +12:00
filter_flows.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
io_read_dumpfile.py Extend Mypy checking to pathod 2017-05-02 05:19:25 +05:30
io_write_dumpfile.py Extend Mypy checking to pathod 2017-05-02 05:19:25 +05:30
log_events.py addon loader: add boot_into, which replaces returning from start() 2017-03-25 10:48:12 +13:00
modify_body_inject_iframe.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
modify_form.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
modify_querystring.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
README.md update log_events.py 2017-01-16 18:11:18 +08:00
redirect_requests.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
send_reply_from_proxy.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
upsidedownternet.py extend mypy example/simple 2017-04-29 03:26:14 +05:30
wsgi_flask_app.py extend mypy example/simple 2017-04-29 03:26:14 +05:30

Simple Examples

Filename Description
add_header.py Simple script that just adds a header to every request.
custom_contentview.py Add a custom content view to the mitmproxy UI.
filter_flows.py This script demonstrates how to use mitmproxy's filter pattern in scripts.
io_read_dumpfile.py Read a dumpfile generated by mitmproxy.
io_write_dumpfile.py Only write selected flows into a mitmproxy dumpfile.
log_events.py Use mitmproxy's logging API.
modify_body_inject_iframe.py Inject configurable iframe into pages.
modify_form.py Modify HTTP form submissions.
modify_querystring.py Modify HTTP query strings.
redirect_requests.py Redirect a request to a different server.
script_arguments.py Add arguments to a script.
send_reply_from_proxy.py Send a HTTP response directly from the proxy.
upsidedownternet.py Turn all images upside down.
wsgi_flask_app.py Embed a WSGI app into mitmproxy.