Message147847
| Author |
eric.araujo |
| Recipients |
eric.araujo, ezio.melotti, karlcow, maker, orsenthil |
| Date |
2011年11月18日.10:23:54 |
| SpamBayes Score |
0.0006894077 |
| Marked as misclassified |
No |
| Message-id |
<1321611835.59.0.354392628298.issue13294@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi Michele, long time no see :)
> Well, actually SimpleHTTPRequesthandler extends BaseHTTPHandler with basic do_GET and
> do_HEAD methods.
> Unittests for http.server shows that this behavior is intended, since: [snip]
Not sure what this test shows (maybe because I need coffee :)
> Anyway, I would propose a trivial patch to make http.server a little more elegant.
The first change may do more that you want it to: rstrip without argument will remove all whitespace, but there the code wants to remove only CRLF or LF. Anyway, changes for the sake of elegance or cleanliness are not done for the sake of it, but usually as a part of a greater refactoring or fix. We prefer to minimize chances of compatibility breakage by avoiding gratuitous changes. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年11月18日 10:23:55 | eric.araujo | set | recipients:
+ eric.araujo, orsenthil, ezio.melotti, karlcow, maker |
| 2011年11月18日 10:23:55 | eric.araujo | set | messageid: <1321611835.59.0.354392628298.issue13294@psf.upfronthosting.co.za> |
| 2011年11月18日 10:23:55 | eric.araujo | link | issue13294 messages |
| 2011年11月18日 10:23:54 | eric.araujo | create |
|