Index of class methods


C
cookie [CamlGI.Cgi.cgi]
Return the named cookie, or throw Not_found.
cookies [CamlGI.Cgi.cgi]
Return a list of all cookies passed to the script.

D
domain [CamlGI.Cookie.cookie]
Return the domain of the cookie, or "" if not set.

E
exit [CamlGI.Cgi.cgi]
Exit the current cgi script.

H
header [CamlGI.Cgi.cgi]
Emit the header.

I
is_multipart [CamlGI.Cgi.cgi]
Returns true iff the request was a multipart/form-data POST request.

L
log [CamlGI.Cgi.cgi]
log s Log the message s into the webserver log.

M
max_age [CamlGI.Cookie.cookie]
Lifetime of the cookie in seconds.

N
name [CamlGI.Cookie.cookie]
Return the name of the cookie.

O
output [CamlGI.Cgi.template]
#output print must use the print function to output the template (with the necessary substitutions done,...).

P
param [CamlGI.Cgi.cgi]
#param name returns the "first" value of the parameter name.
param_all [CamlGI.Cgi.cgi]
#param_all name returns all the values of the parameter name.
param_exists [CamlGI.Cgi.cgi]
Return true iff the named parameter exists.
param_true [CamlGI.Cgi.cgi]
This method returns false if the named parameter is missing, is an empty string, or is the string "0".
params [CamlGI.Cgi.cgi]
Return an assoc-list mapping name -> value for all parameters.
path [CamlGI.Cookie.cookie]
Return the path of the cookie, or "" if not set.

R
redirect [CamlGI.Cgi.cgi]
#redirect ?cookie ?cookies url quits the current cgi script and send to the client a redirection header to url.
request [CamlGI.Cgi.cgi]
Returns the original request object (passed in the constructor).

S
secure [CamlGI.Cookie.cookie]
Return true if the cookie is a secure cookie.
set_domain [CamlGI.Cookie.cookie]
Set the domain of the cookie.
set_max_age [CamlGI.Cookie.cookie]
#set_max_age (Some s) set the lifetime of the cookie to s seconds s.
set_name [CamlGI.Cookie.cookie]
Set the name of the cookie.
set_path [CamlGI.Cookie.cookie]
Set the path of the cookie.
set_secure [CamlGI.Cookie.cookie]
Set the cookie as a secure cookie.
set_value [CamlGI.Cookie.cookie]
Set the value of the cookie.

T
template [CamlGI.Cgi.cgi]
Emit the header (unless #header was issued before) followed by the given template.
to_string [CamlGI.Cookie.cookie]
Return the string representation of the cookie.

U
upload [CamlGI.Cgi.cgi]
For multipart forms only.
upload_all [CamlGI.Cgi.cgi]
For multipart forms only.
url [CamlGI.Cgi.cgi]
Return the URL of the script.

V
value [CamlGI.Cookie.cookie]
Return the value of the cookie.