HTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to provide the CGI protocol
setup_environemnt is usually called in the superclass's accept_hook
This routine in this sub-class clears the environment to the start-up state.
Sets up the
SERVER_URL environment variable
This method sets up CGI environment variables based on various meta-headers, like the protocol, remote host name, request path, etc.
See the docs in HTTP::Server::Simple for more detail.
header turns a single HTTP headers into CGI environment variables.