Message147866
| 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>
> _______________________________________
> |
|