I'm using HTTP::Server::Simple::CGI
for a light-weight HTTP server. That gives me a CGI object in a callback function when a HTTP request is accepted.
How can I access the incoming HTTP headers, especially non-standard headers? The environment variables are only the standard ones.
cgi->param
gives me only the form parameters.
Thanks! chris
Define the
headers
method to receive the headers.It says in the documentation: