Message147866
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>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2011-11-18 12:54:47 | maker | set | recipients:
+ maker, orsenthil, ezio.melotti, eric.araujo, karlcow |
2011-11-18 12:54:46 | maker | link | issue13294 messages |
2011-11-18 12:54:46 | maker | create | |
|