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/url.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/netlib/http/headers.py b/netlib/http/headers.py
index 8f669ec1..fa7b7180 100644
--- a/netlib/http/headers.py
+++ b/netlib/http/headers.py
@@ -176,7 +176,7 @@ class Headers(MultiDict):
self.fields = fields
return replacements
-
+
def parse_content_type(c):
"""
A simple parser for content-type values. Returns a (type, subtype,
diff --git a/netlib/http/url.py b/netlib/http/url.py
index 147ed572..8ce28578 100644
--- a/netlib/http/url.py
+++ b/netlib/http/url.py
@@ -3,6 +3,7 @@ from six.moves import urllib
from .. import utils
+
# PY2 workaround
def decode_parse_result(result, enc):
if hasattr(result, "decode"):