1HTTP::Server::Simple::CUGsIe(r3)Contributed Perl DocumenHtTaTtPi:o:nServer::Simple::CGI(3)
2
3
4

NAME

6       HTTP::Server::Simple::CGI - CGI.pm-style version of HTTP::Server::Sim‐
7       ple
8

DESCRIPTION

10       HTTP::Server::Simple was already simple, but some smart-ass pointed out
11       that there is no CGI in HTTP, and so this module was born to isolate
12       the CGI.pm-related parts of this handler.
13
14       accept_hook
15
16       The accept_hook in this sub-class clears the environment to the start-
17       up state.
18
19       post_setup_hook
20
21       setup
22
23       This method sets up CGI environment variables based on various
24       meta-headers, like the protocol, remote host name, request path, etc.
25
26       See the docs in HTTP::Server::Simple for more detail.
27
28       handle_request CGI
29
30       This routine is called whenever your server gets a request it can han‐
31       dle.
32
33       It's called with a CGI object that's been pre-initialized.  You want to
34       override this method in your subclass
35
36       handler
37
38       Handler implemented as part of HTTP::Server::Simple API
39
40
41
42perl v5.8.8                       2007-01-17      HTTP::Server::Simple::CGI(3)
Impressum