summaryrefslogtreecommitdiff
path: root/python3
diff options
context:
space:
mode:
authorJoe Gregorio <joe@bitworking.org>2009-12-25 23:38:52 -0500
committerJoe Gregorio <joe@bitworking.org>2009-12-25 23:38:52 -0500
commit6740949122279eb96de46b2840d1230c5a3c980f (patch)
treeb5021d2cda837bae312b7b60c4dcc8686819bc42 /python3
parent89f1514bff479bf72adc5f82f3287167447d0423 (diff)
downloadhttplib2-6740949122279eb96de46b2840d1230c5a3c980f.tar.gz
Added to .hgignore and fixed issue #65
Diffstat (limited to 'python3')
-rw-r--r--python3/httplib2/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py
index 1cbcd4c..8cdf98f 100644
--- a/python3/httplib2/__init__.py
+++ b/python3/httplib2/__init__.py
@@ -941,6 +941,8 @@ the same interface as FileCache."""
return (response, content)
+ def _normalize_headers(self, headers):
+ return _normalize_headers(headers)
# Need to catch and rebrand some exceptions
# Then need to optionally turn all exceptions into status codes
@@ -972,7 +974,7 @@ a string that contains the response entity body.
if headers is None:
headers = {}
else:
- headers = _normalize_headers(headers)
+ headers = self._normalize_headers(headers)
if 'user-agent' not in headers:
headers['user-agent'] = "Python-httplib2/%s" % __version__