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 maker
Recipients eric.araujo, ezio.melotti, karlcow, maker, orsenthil
Date 2011-11-18.12:54:46
SpamBayes Score 1.1507265e-05
Marked as misclassified No
Message-id <CAMfKjGX7-C5rXB8WmVbnzA5-RmoEWq9pfS_DhgeW4KFqKE1V9g@mail.gmail.com>
In-reply-to <1321611835.59.0.354392628298.issue13294@psf.upfronthosting.co.za>
Content
These tests shows how SimpleHTTPRequestHandler behaves: if the class
contains a do_FOO method, it is called, otherwise error501 is raised.
That's what Karl said with «Or to modify the library code that for any
resources not yet defined.».
Since SimpleHTTPRequestHandler.do_HEAD exists, and this is reflected
in the correspondent unittest, I belive that this is not a bug.

Patch attached. No problem if it's not committed now. I hope that
someone in the noisy list will make a little cleanup one day :)

>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue13294>
> _______________________________________
>
Files
File name Uploaded
issue13294.patch maker, 2011-11-18.12:54:46
History
Date User Action Args
2011-11-18 12:54:47makersetrecipients: + maker, orsenthil, ezio.melotti, eric.araujo, karlcow
2011-11-18 12:54:46makerlinkissue13294 messages
2011-11-18 12:54:46makercreate