diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-07-15 13:22:20 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-07-15 14:52:34 +1200 |
commit | 4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a (patch) | |
tree | 462636079d7c0d7529242ac5fce71ef799ca9131 /examples/proxapp.py | |
parent | fcc1416ffd82a3497bf17323b4bb467e7e4435f4 (diff) | |
download | mitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.tar.gz mitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.tar.bz2 mitmproxy-4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a.zip |
Add .start for addons and scripts
Also improve error messages, fix various unit tests
Diffstat (limited to 'examples/proxapp.py')
-rw-r--r-- | examples/proxapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/proxapp.py b/examples/proxapp.py index 095f412a..2935b587 100644 --- a/examples/proxapp.py +++ b/examples/proxapp.py @@ -16,7 +16,7 @@ def hello_world(): # Register the app using the magic domain "proxapp" on port 80. Requests to # this domain and port combination will now be routed to the WSGI app instance. -def configure(options): +def start(): mitmproxy.ctx.master.apps.add(app, "proxapp", 80) # SSL works too, but the magic domain needs to be resolvable from the mitmproxy machine due to mitmproxy's design. |