On Thu, May 14, 2009 at 12:13 AM, Gabriel Genellina <gagsl-...@yahoo.com.ar>wrote:
> En Mon, 11 May 2009 04:23:29 -0300, Christopher Mahan < > chris.ma...@gmail.com> escribió: > > I have a docxmlrpcserver install (kissws.com) that's returning HTTP code >> 501 >> when the client makes a HEAD request. >> >> Any idea as to whether that's by design? >> > > Yes. The XMLRPC spec defines only the POST request; DocXMLRPCServer extends > the definition so a GET request is interpreted as a documentation query. Any > other method remains undefined and generates a "501 Unsupported method > (xxx)" response. > > If you do need HEAD, extend DocXMLRPCRequestHandler to define a do_HEAD > method (same as do_GET but without actually sending the response entity). > > -- > Gabriel Genellina > Thank you. Chris Mahan chris.ma...@gmail.com gv (818) 671-1709
-- http://mail.python.org/mailman/listinfo/python-list