aboutsummaryrefslogtreecommitdiffstats
path: root/examples/redirect_requests.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redirect_requests.py')
-rw-r--r--examples/redirect_requests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/redirect_requests.py b/examples/redirect_requests.py
index 48512f1b..2ae4927b 100644
--- a/examples/redirect_requests.py
+++ b/examples/redirect_requests.py
@@ -1,9 +1,8 @@
-from libmproxy.protocol.http import HTTPResponse
-from netlib.odict import ODictCaseless
-
"""
This example shows two ways to redirect flows to other destinations.
"""
+from libmproxy.models import HTTPResponse
+from netlib.odict import ODictCaseless
def request(context, flow):