RPC::Any::Interface::HTTP - HTTP input/output support for RPC::Any::Server
This module houses code that is common to all the "HTTP" servers in RPC::Any (RPC::Any::Server::XMLRPC::HTTP and RPC::Any::Server::JSONRPC::HTTP).
RPC::Any HTTP servers understand HTTP input and return HTTP output.
This means that HTTP servers expect there to be HTTP headers on the input provided to
and they return HTTP headers as part of the return value of
if an HTTP server is reading from
it expects both the HTTP headers and the RPC input to be there.
HTTP servers also accept an HTTP::Request object as input to
Servers that use this code (including all the "HTTP" and "CGI" servers) have certain additional attributes beyond the ones described in RPC::Any::Server.
These can all be specified during
new or set like
They are all optional.
RPC::Any's HTTP servers do not allow
because they have serious security issues that you as an implementor have to take into account:
If you have addressed these security concerns in your application and want to allow GET requests,
you can set this to
1 to allow them.
This is a hashref that specifies extra HTTP headers that the server should send back. The hash keys are the names of the headers, and the values are the values for the headers. Any header specified here will override the default headers sent by RPC::Any.
An HTTP::Request representing the last request that the server processed.
(Note for subclassers: this is not available until