aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/send_reply_from_proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple/send_reply_from_proxy.py')
-rw-r--r--examples/simple/send_reply_from_proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/send_reply_from_proxy.py b/examples/simple/send_reply_from_proxy.py
index bef2e7e7..5011fd2e 100644
--- a/examples/simple/send_reply_from_proxy.py
+++ b/examples/simple/send_reply_from_proxy.py
@@ -5,7 +5,7 @@ without sending any data to the remote server.
from mitmproxy import http
-def request(flow):
+def request(flow: http.HTTPFlow) -> None:
# pretty_url takes the "Host" header of the request into account, which
# is useful in transparent mode where we usually only have the IP otherwise.