aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/http')
-rw-r--r--netlib/http/headers.py2
-rw-r--r--netlib/http/message.py4
-rw-r--r--netlib/http/request.py2
3 files changed, 5 insertions, 3 deletions
diff --git a/netlib/http/headers.py b/netlib/http/headers.py
index 39673f1a..6c30d278 100644
--- a/netlib/http/headers.py
+++ b/netlib/http/headers.py
@@ -2,7 +2,7 @@ import re
import collections
from netlib import multidict
-from netlib import strutils
+from mitmproxy.utils import strutils
# See also: http://lucumr.pocoo.org/2013/7/2/the-updated-guide-to-unicode/
diff --git a/netlib/http/message.py b/netlib/http/message.py
index 1980b0ab..133a53ce 100644
--- a/netlib/http/message.py
+++ b/netlib/http/message.py
@@ -2,7 +2,9 @@ import re
import warnings
from typing import Optional
-from netlib import encoding, strutils, basetypes
+from mitmproxy.utils import strutils
+from netlib import encoding
+from netlib import basetypes
from netlib.http import headers
diff --git a/netlib/http/request.py b/netlib/http/request.py
index dd6f4164..3479fa4c 100644
--- a/netlib/http/request.py
+++ b/netlib/http/request.py
@@ -2,7 +2,7 @@ import re
import urllib
from netlib import multidict
-from netlib import strutils
+from mitmproxy.utils import strutils
from netlib.http import multipart
from netlib.http import cookies
from netlib.http import headers as nheaders