This section describes how a remote method call XML message can be delivered to the remote machine as a HTTP request. Extra request head lines are used.
The second item of the XML-RPC specification is about how to send a remote method call as a HTTP request.
XML-RPC defines that a method call must be delivered
to the remote host as a HTTP request with the following rules:
The request must use the POST method.
Header lines, "User-Agent" and "Host", are is required.
Header line, "Content-Type", is required and must have "text/xml" as the value.
Header line, "Content-length", is required and must give accurate value.
The request body must be an XML file with a single "mechodCall" element.