Closed GoogleCodeExporter closed 9 years ago
In python 2.6.1:
Traceback (most recent call last):
File "C:\Work\PORO\PythonPoro\PythonPoro.py", line 11, in <module>
resp, content = h.request("https://www.op.fi")
File "C:\Python26\lib\site-packages\httplib2\__init__.py", line 1028, in request
(response, new_content) = self._request(conn, authority, uri, request_uri,
method, body, headers, redirections, cachekey)
File "C:\Python26\lib\site-packages\httplib2\__init__.py", line 856, in _request
(response, content) = self._conn_request(conn, request_uri, method, body,
headers)
File "C:\Python26\lib\site-packages\httplib2\__init__.py", line 825, in
_conn_request
conn.request(method, request_uri, body, headers)
File "C:\python26\lib\httplib.py", line 874, in request
self._send_request(method, url, body, headers)
File "C:\python26\lib\httplib.py", line 911, in _send_request
self.endheaders()
File "C:\python26\lib\httplib.py", line 868, in endheaders
self._send_output()
File "C:\python26\lib\httplib.py", line 740, in _send_output
self.send(msg)
File "C:\python26\lib\httplib.py", line 699, in send
self.connect()
File "C:\Python26\lib\site-packages\httplib2\__init__.py", line 738, in connect
sock.settimeout(self.timeout)
File "<string>", line 1, in settimeout
TypeError: a float is required
Original comment by eino.mak...@gmail.com
on 19 Dec 2008 at 5:19
Correction: I get this error when going to SSL site only.
when connecting to http://www.op.fi it sends redirection to https://www.op.fi
and
then I got this float is required error. When connecting SSL directly same
issue.
Original comment by eino.mak...@gmail.com
on 19 Dec 2008 at 5:34
this patch fix this issue :
http://code.google.com/p/httplib2/issues/detail?id=39
Original comment by bchesn...@gmail.com
on 23 Dec 2008 at 10:37
Original comment by joe.gregorio@gmail.com
on 17 Jul 2009 at 12:17
Original issue reported on code.google.com by
spida...@gmail.com
on 18 Nov 2008 at 9:58