ICI Modules: cgi
Modules by name : by typeOverview
The cgi module provides a utility functions for writing CGI programs for use with HTTP servers. The module's functions handle tasks such as of parsing form input, generating reply headers, accessing cookies and encoding textual data.
Interface
cgi.query_string_to_struct - return form fields in a struct
cgi.start_reply_header - mark the start of CGI header output
cgi.end_reply_header - mark the end of CGI header output
cgi.content_type - generate a Content-Type header
cgi.content_length - generate a Content-Length header
cgi.setcookie - define a cookie header
cgi.getcookie - retrieve any cookie sent by client
cgi.redirect - generate a redirect response
cgi.string_to_urle - encode a string for URL use
cgi.urle_to_string - decode a URL string