1HTTP::Server::Simple::CUGsIe:r:ECnovnitrroinbmuetnetdH(T3PT)ePr:l:SDeorcvuemre:n:tSaitmipolne::CGI::Environment(3)
2
3
4
6 HTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin
7 to provide the CGI protocol
8
10 This mixin abstracts the CGI protocol out from HTTP::Server::Sim‐
11 ple::CGI so that it's easier to provide your own CGI handlers with
12 HTTP::Server::Simple which don't use CGI.pm
13
14 setup_environment
15
16 "setup_environemnt" is usually called in the superclass's accept_hook
17
18 This routine in this sub-class clears the environment to the start-up
19 state.
20
21 setup_server_url
22
23 Sets up the SERVER_URL environment variable
24
25 setup_environment_from_metadata
26
27 This method sets up CGI environment variables based on various
28 meta-headers, like the protocol, remote host name, request path, etc.
29
30 See the docs in HTTP::Server::Simple for more detail.
31
32 header
33
34 "header" turns a single HTTP headers into CGI environment variables.
35
36
37
38perl v5.8.8 2007H-T0T1P-:1:7Server::Simple::CGI::Environment(3)