This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | juneaftn |
|---|---|
| Recipients | juneaftn, rhettinger |
| Date | 2008年02月16日.13:18:56 |
| SpamBayes Score | 0.21243761 |
| Marked as misclassified | No |
| Message-id | <1203167938.11.0.556138107236.issue2126@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
http://bugs.python.org/issue430160 http://bugs.python.org/issue427345 These two issues refer to the same bug, which occurs when there is a POST from an Internet Explorer and the POST's content is long enough. The issue was resolved by changing the CGIHTTPServer.py to consume the remaining garbage. However, the bug potentially remains with BaseHTTPServer.py(and hence its descendants like SimpleHTTPServer, and 3rd party libraries like MoinMoin's stand alone server). People should have the knowledge of the IE POST bug and put the code for treating it everytime when they use BaseHTTPServer. Simple way to solve this is inserting the garbage consuming code in the "finish" method: while select.select([self.rfile], [],[],0)[0]: if not self.rfile.read(1): break |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年02月16日 13:18:58 | juneaftn | set | spambayes_score: 0.212438 -> 0.21243761 recipients: + juneaftn, rhettinger |
| 2008年02月16日 13:18:58 | juneaftn | set | spambayes_score: 0.212438 -> 0.212438 messageid: <1203167938.11.0.556138107236.issue2126@psf.upfronthosting.co.za> |
| 2008年02月16日 13:18:57 | juneaftn | link | issue2126 messages |
| 2008年02月16日 13:18:56 | juneaftn | create | |