Lines Matching full:cgi
1 :mod:`CGIHTTPServer` --- CGI-capable HTTP request handler
5 :synopsis: This module provides a request handler for HTTP servers which can run CGI
18 run CGI scripts.
22 This module can run CGI scripts on Unix and Windows systems.
26 CGI scripts run by the :class:`CGIHTTPRequestHandler` class cannot execute
28 prior to execution of the CGI script. This pre-empts the status code.
35 This class is used to serve either files or output of CGI scripts from the
40 The class will however, run the CGI script, instead of serving it as a file, if
41 it guesses it to be a CGI script. Only directory-based CGI are used --- the
42 other common server configuration is to treat special extensions as denoting CGI
45 The :func:`do_GET` and :func:`do_HEAD` functions are modified to run CGI scripts
54 This defaults to ``['/cgi-bin', '/htbin']`` and describes directories to
55 treat as containing CGI scripts.
62 This method serves the ``'POST'`` request type, only allowed for CGI
63 scripts. Error 501, "Can only POST to CGI scripts", is output when trying
64 to POST to a non-CGI url.
66 Note that CGI scripts will be run with UID of user nobody, for security reasons.
67 Problems with the CGI script will be translated to error 403.