From: dirknbr on 27 Jul 2010 10:00 I am running urllib2.request and get this response when I do the read. Any ideas what causes this? return response.read() File "C:\Python26\lib\socket.py", line 329, in read data = self._sock.recv(rbufsize) File "C:\Python26\lib\httplib.py", line 518, in read return self._read_chunked(amt) File "C:\Python26\lib\httplib.py", line 561, in _read_chunked raise IncompleteRead(''.join(value)) IncompleteRead: IncompleteRead(3235 bytes read) Dirk
From: Gabriel Genellina on 4 Aug 2010 03:53 On 27 jul, 11:00, dirknbr <dirk...(a)gmail.com> wrote: > I am running urllib2.request and get this response when I do the read. > Any ideas what causes this? > > return response.read() > File "C:\Python26\lib\socket.py", line 329, in read > data = self._sock.recv(rbufsize) > File "C:\Python26\lib\httplib.py", line 518, in read > return self._read_chunked(amt) > File "C:\Python26\lib\httplib.py", line 561, in _read_chunked > raise IncompleteRead(''.join(value)) > IncompleteRead: IncompleteRead(3235 bytes read) Looks like a server error; a chunked transfer encoding finished before reaching the expected size. -- Gabriel Genellina
|
Pages: 1 Prev: Why is there no platform independent way of clearing a terminal? Next: string manipulation. |