Issue868571
Created on 2003-12-31 19:18 by gmonroe, last changed 2009-04-22 17:20 by ajaksu2.
|
msg60438 - (view) |
Author: Grant Monroe (gmonroe) |
Date: 2003-12-31 19:18 |
|
If the length of the reponse from an HTTPConnection is
unknown, then a read with a specified amount fails.
File "/home/grant/local/lib/python2.3/httplib.py", line
404, in read
self.length -= amt
TypeError: unsupported operand type(s) for -=: 'str'
and 'int'
|
|
msg60439 - (view) |
Author: ruben decrop (cropr) |
Date: 2005-05-24 07:31 |
|
Logged In: YES
user_id=17539
I can reproduce the same error.
This happens when the server answers using the HTTP 0.9
protocol.
Apparently the _read_status() is getting confused for some
HTTP 0.9 messages.
|
|
| Date |
User |
Action |
Args |
| 2009-04-22 17:20:05 | ajaksu2 | set | keywords:
+ easy |
| 2009-02-13 05:07:32 | ajaksu2 | set | nosy:
+ ajaksu2 stage: test needed type: behavior versions:
+ Python 2.6, - Python 2.3 |
| 2003-12-31 19:18:19 | gmonroe | create | |
|