What steps will reproduce the problem?
1. change "base" in httplib2test.py to base =
'http://bitworking.org/pro-jects/httplib2/test/'
2. run tests
3. FAILED (failures=45, errors=7)
or try:
h = httplib2.Http(".cache")
resp, content = h.request("http://example.org/sub-path/", "GET")
-> throws error:
File "C:\Program Files (x86)\Python25\Lib\site-packages\httplib2\__init__.py",
line 1129, in request
(response, content) = self._request(conn, authority, uri, request_uri, metho
d, body, headers, redirections, cachekey)
File "C:\Program Files (x86)\Python25\Lib\site-packages\httplib2\__init__.py",
line 910, in _request
for authorization in self._auth_from_challenge(host, request_uri, headers, r
esponse, content):
File "C:\Program Files (x86)\Python25\Lib\site-packages\httplib2\__init__.py",
line 837, in _auth_from_challenge
challenges = _parse_www_authenticate(response, 'www-authenticate')
File "C:\Program Files (x86)\Python25\Lib\site-packages\httplib2\__init__.py",
line 254, in _parse_www_authenticate
(auth_scheme, the_rest) = authenticate.split(" ", 1)
ValueError: need more than 1 value to unpack
What is the expected output? What do you see instead?
successful connection to URL, see above
What version of the product are you using? On what operating system?
httplib2-0.6.0
windows 7
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on
win32
Please provide any additional information below.
Original issue reported on code.google.com by martin.k...@gmail.com on 15 Oct 2010 at 4:48
Original issue reported on code.google.com by
martin.k...@gmail.com
on 15 Oct 2010 at 4:48