aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorbeth <beth@sortable.com>2020-01-20 13:47:14 -0500
committerbeth <beth@sortable.com>2020-01-20 13:47:14 -0500
commitf5b76d6230d0e2a123b362348552b38ae463a8ca (patch)
tree8dc5e605e49b8ce68476d151b2060cfeadd17124 /examples
parentd573d4e5d744f823890695cf324b02c324984098 (diff)
downloadmitmproxy-f5b76d6230d0e2a123b362348552b38ae463a8ca.tar.gz
mitmproxy-f5b76d6230d0e2a123b362348552b38ae463a8ca.tar.bz2
mitmproxy-f5b76d6230d0e2a123b362348552b38ae463a8ca.zip
Address lint
Diffstat (limited to 'examples')
-rw-r--r--examples/simple/wsgi_flask_app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple/wsgi_flask_app.py b/examples/simple/wsgi_flask_app.py
index cdbd750c..bbde6913 100644
--- a/examples/simple/wsgi_flask_app.py
+++ b/examples/simple/wsgi_flask_app.py
@@ -13,11 +13,11 @@ app = Flask("proxapp")
def hello_world() -> str:
return 'Hello World!'
+
addons = [
# Host app at the magic domain "proxapp.local" on port 80. Requests to this
# domain and port combination will now be routed to the WSGI app instance.
- wsgiapp.WSGIApp(app, "proxapp.local", 80)
-
+ wsgiapp.WSGIApp(app, "proxapp.local", 80)
# SSL works too, but the magic domain needs to be resolvable from the mitmproxy machine due to mitmproxy's design.
# mitmproxy will connect to said domain and use serve its certificate (unless --no-upstream-cert is set)
# but won't send any data.