Message150403
In 3.2, http.client.py, insertion would be at line 718.
However, only one statement is needed to break. 3.2 elsewhere has
if line in (b'\r\n', b'\n', b''):
break
But I note that at 512, there is the code luzakiru patched in. I think that should perhaps be changed to above also, unless bare \n from reading a server is really impossible.
At 313, i found this misformed code:
if not line:
# Presumably, the server closed the connection before
# sending a valid response.
raise BadStatusLine(line)
[I am curious -- is it really intended to simply throw away the tunnel server response after the first header?] |
|
Date |
User |
Action |
Args |
2011-12-30 22:24:55 | terry.reedy | set | recipients:
+ terry.reedy, orsenthil, luzakiru |
2011-12-30 22:24:55 | terry.reedy | set | messageid: <1325283895.47.0.693585353298.issue13684@psf.upfronthosting.co.za> |
2011-12-30 22:24:54 | terry.reedy | link | issue13684 messages |
2011-12-30 22:24:54 | terry.reedy | create | |
|