|Subject:||[PATCH] Add HTTP::Request to RPC::XML::Server passed to RPC::XML::Method calls|
|Date:||Tue, 08 Jun 2010 15:33:43 +0200|
|To:||bug-RPC-XML [...] rt.cpan.org|
|From:||Martijn van de Streek <mstreek [...] xs4all.net>|
Hello, We need access to HTTP request headers for access control, because our RPC-server is behind a reverse HTTP proxy. This patch adds the current HTTP::Request to the RPC::XML::Server passed to RPC::XML::Method calls, so we can read request headers from it. This allows us to parse "X-Forwarded-For" if the "peerhost" is one of our proxy servers. You should be able to apply this using "git am filename.patch". Cheers, Martijn
Message body is not shown because sender requested not to inline it.