<br><div class="gmail_quote">On Thu, May 14, 2009 at 12:13 AM, Gabriel Genellina <span dir="ltr"><<a href="mailto:gagsl-py2@yahoo.com.ar">gagsl-py2@yahoo.com.ar</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
En Mon, 11 May 2009 04:23:29 -0300, Christopher Mahan <<a href="mailto:chris.mahan@gmail.com" target="_blank">chris.mahan@gmail.com</a>> escribió:<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a docxmlrpcserver install (<a href="http://kissws.com" target="_blank">kissws.com</a>) that's returning HTTP code 501<br>
when the client makes a HEAD request.<br>
<br>
Any idea as to whether that's by design?<br>
</blockquote>
<br></div>
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.<br>

<br>
If you do need HEAD, extend DocXMLRPCRequestHandler to define a do_HEAD method (same as do_GET but without actually sending the response entity).<br>
<br>
-- <br>
Gabriel Genellina<font color="#888888"><br></font></blockquote></div><br><br>Thank you. <br><br>Chris Mahan<br><a href="mailto:chris.mahan@gmail.com">chris.mahan@gmail.com</a><br>gv (818) 671-1709<br>
<br>