Skip to content

Commit f9f7972

Browse files
committed
0.9.1 Release changes.
1 parent 1af76a6 commit f9f7972

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

CHANGELOG

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
0.9.1
22

3+
Fixes in this release:
4+
5+
https://github.com/jcgregorio/httplib2/pull/296
6+
7+
There was a problem with headers when a binary string is passed (like
8+
b'Authorization').
9+
10+
https://github.com/jcgregorio/httplib2/pull/276
11+
12+
Default to doing DNS resolution through a proxy server if present.
13+
314
0.9
415
Heartbleed
516

python2/httplib2/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"Sam Ruby",
2323
"Louis Nyffenegger"]
2424
__license__ = "MIT"
25-
__version__ = "0.9"
25+
__version__ = "0.9.1"
2626

2727
import re
2828
import sys
@@ -1496,7 +1496,7 @@ def request(self, uri, method="GET", body=None, headers=None, redirections=DEFAU
14961496
info = email.Message.Message()
14971497
cached_value = None
14981498
if self.cache:
1499-
cachekey = defrag_uri
1499+
cachekey = defrag_uri.encode('utf-8')
15001500
cached_value = self.cache.get(cachekey)
15011501
if cached_value:
15021502
# info = email.message_from_string(cached_value)

python3/httplib2/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"Louis Nyffenegger",
2525
"Mark Pilgrim"]
2626
__license__ = "MIT"
27-
__version__ = "0.9"
27+
__version__ = "0.9.1"
2828

2929
import re
3030
import sys

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import sys
66

77
pkgdir = {'': 'python%s' % sys.version_info[0]}
8-
VERSION = '0.9'
8+
VERSION = '0.9.1'
99

1010
setup(name='httplib2',
1111
version=VERSION,

test/.htaccess

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
AddHandler cgi-script .asis
2-
Options +ExecCGI
2+
Options +ExecCGI +Indexes
33
ExpiresActive On
44
ExpiresDefault "access plus 2 hours"
5-
# removed by cornerhost: SecFilterEngine Off
5+
<IfModule mod_security.c>
6+
SecFilterEngine Off
7+
SecFilterScanPOST off
8+
</IfModule>

0 commit comments

Comments
 (0)