Message159845
| Author |
Tobias.Steinrücken |
| Recipients |
Tobias.Steinrücken |
| Date |
2012年05月03日.10:31:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1336041098.08.0.116585068152.issue14709@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It seems that http.client's send() function lacks an else/return statement in Line 772.
If this method is called with an read()able Object, it jumps into
L 750: if hasattr( data,"read"):
processes this data correctly, but then falls through (due to missing else ) to
L 773: try:
L 774: self.socket.sendall(data)
where finally an TypeError raises. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月03日 10:31:38 | Tobias.Steinrücken | set | recipients:
+ Tobias.Steinrücken |
| 2012年05月03日 10:31:38 | Tobias.Steinrücken | set | messageid: <1336041098.08.0.116585068152.issue14709@psf.upfronthosting.co.za> |
| 2012年05月03日 10:31:37 | Tobias.Steinrücken | link | issue14709 messages |
| 2012年05月03日 10:31:37 | Tobias.Steinrücken | create |
|