diff options
Diffstat (limited to 'python3/httplib2/__init__.py')
-rw-r--r-- | python3/httplib2/__init__.py | 4 |
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__ |