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
11 HTTP::Server::Simple::CGI so that it's easier to provide your own CGI
12 handlers with HTTP::Server::Simple which don't use CGI.pm
13
14 setup_environment
15 "setup_environemnt" is usually called in the superclass's accept_hook
16
17 This routine in this sub-class clears the environment to the start-up
18 state.
19
20 setup_server_url
21 Sets up the "SERVER_URL" environment variable
22
23 setup_environment_from_metadata
24 This method sets up CGI environment variables based on various meta-
25 headers, like the protocol, remote host name, request path, etc.
26
27 See the docs in HTTP::Server::Simple for more detail.
28
29 header
30 "header" turns a single HTTP headers into CGI environment variables.
31
32
33
34perl v5.36.0 2023H-T0T1P-:2:0Server::Simple::CGI::Environment(3)