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 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:55eric.araujosetrecipients: + eric.araujo, orsenthil, ezio.melotti, karlcow, maker
2011-11-18 10:23:55eric.araujosetmessageid: <1321611835.59.0.354392628298.issue13294@psf.upfronthosting.co.za>
2011-11-18 10:23:55eric.araujolinkissue13294 messages
2011-11-18 10:23:54eric.araujocreate