diff options
Diffstat (limited to 'libmproxy/flow.py')
-rw-r--r-- | libmproxy/flow.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py index 4b725ae5..82a25461 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -8,8 +8,11 @@ import Cookie import cookielib import os import re + from netlib import odict, wsgi, tcp +from netlib.http.semantics import CONTENT_MISSING import netlib.http + from . import controller, protocol, tnetstring, filt, script, version from .onboarding import app from .protocol import http, handle @@ -921,7 +924,7 @@ class FlowMaster(controller.Master): return "Can't replay live request." if f.intercepted: return "Can't replay while intercepting..." - if f.request.content == http.CONTENT_MISSING: + if f.request.content == CONTENT_MISSING: return "Can't replay request with missing content..." if f.request: f.backup() |