aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-07-23 11:55:27 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-07-23 11:55:27 -0700
commit61de6fa1d65d4219c6798ab025e1beeca1247068 (patch)
tree059b608115706c7325316b3af49e50e2ccf3fba9 /netlib
parent9b40e1072cf66ba15266085faee3434a5750f52c (diff)
downloadmitmproxy-61de6fa1d65d4219c6798ab025e1beeca1247068.tar.gz
mitmproxy-61de6fa1d65d4219c6798ab025e1beeca1247068.tar.bz2
mitmproxy-61de6fa1d65d4219c6798ab025e1beeca1247068.zip
fix test_view_urlencoded
Diffstat (limited to 'netlib')
-rw-r--r--netlib/http/url.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/netlib/http/url.py b/netlib/http/url.py
index 2fc6e7ee..1c8c007a 100644
--- a/netlib/http/url.py
+++ b/netlib/http/url.py
@@ -82,6 +82,7 @@ def unparse(scheme, host, port, path=""):
def encode(s):
+ # type: (six.text_type, bytes) -> str
"""
Takes a list of (key, value) tuples and returns a urlencoded string.
"""