-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Description
Traceback (most recent call last):
File "1", line 5, in <module>
restkit.request('https://www.google.com/')
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/restkit/__init__.py", line 107, in request
headers=headers)
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/restkit/client.py", line 458, in request
return self.perform(request)
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/restkit/client.py", line 389, in perform
return self.get_response(request, connection)
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/restkit/client.py", line 495, in get_response
location = p.headers().get('location')
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/http_parser/http.py", line 118, in headers
self._check_headers_complete()
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/http_parser/http.py", line 63, in _check_headers_complete
data = self.next()
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/http_parser/http.py", line 175, in next
recved = self.stream.readinto(b)
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/http_parser/reader.py", line 164, in readinto
return _readinto(self._sock, b)
File "/Users/dsully/.virtualenvs/lib/python2.6/site-packages/http_parser/reader.py", line 39, in _readinto
recved = sock.recv_into(buf)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ssl.py", line 98, in <lambda>
self.recv_into = lambda buffer, nbytes=None, flags=0: SSLSocket.recv_into(self, buffer, nbytes, flags)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ssl.py", line 240, in recv_into
buffer[:v] = tmp_buffer
TypeError: can only assign array (not "str") to array slice
Metadata
Metadata
Assignees
Labels
No labels