Index of values


A
accept [CamlGI.Cgi.Request]
Returns the list of accepted MIME types by the client.
accept_charset [CamlGI.Cgi.Request]
Return a list of charset supported by the client.
accept_encoding [CamlGI.Cgi.Request]
List of encodings supported by the client.
auth [CamlGI.Cgi.Request]
The HTTP authentication scheme.

C
cAUTH_REQUIRED [CamlGI.Cgi]
cBAD_GATEWAY [CamlGI.Cgi]
cBAD_REQUEST [CamlGI.Cgi]
cDOCUMENT_FOLLOWS [CamlGI.Cgi]
cFORBIDDEN [CamlGI.Cgi]
cHTTP_ACCEPTED [CamlGI.Cgi]
cHTTP_BAD_GATEWAY [CamlGI.Cgi]
cHTTP_BAD_REQUEST [CamlGI.Cgi]
cHTTP_CONFLICT [CamlGI.Cgi]
cHTTP_CONTINUE [CamlGI.Cgi]
cHTTP_CREATED [CamlGI.Cgi]
cHTTP_EXPECTATION_FAILED [CamlGI.Cgi]
cHTTP_FAILED_DEPENDENCY [CamlGI.Cgi]
cHTTP_FORBIDDEN [CamlGI.Cgi]
cHTTP_GATEWAY_TIME_OUT [CamlGI.Cgi]
cHTTP_GONE [CamlGI.Cgi]
cHTTP_INSUFFICIENT_STORAGE [CamlGI.Cgi]
cHTTP_INTERNAL_SERVER_ERROR [CamlGI.Cgi]
cHTTP_LENGTH_REQUIRED [CamlGI.Cgi]
cHTTP_LOCKED [CamlGI.Cgi]
cHTTP_METHOD_NOT_ALLOWED [CamlGI.Cgi]
cHTTP_MOVED_PERMANENTLY [CamlGI.Cgi]
cHTTP_MOVED_TEMPORARILY [CamlGI.Cgi]
cHTTP_MULTIPLE_CHOICES [CamlGI.Cgi]
cHTTP_MULTI_STATUS [CamlGI.Cgi]
cHTTP_NON_AUTHORITATIVE [CamlGI.Cgi]
cHTTP_NOT_ACCEPTABLE [CamlGI.Cgi]
cHTTP_NOT_EXTENDED [CamlGI.Cgi]
cHTTP_NOT_FOUND [CamlGI.Cgi]
cHTTP_NOT_IMPLEMENTED [CamlGI.Cgi]
cHTTP_NOT_MODIFIED [CamlGI.Cgi]
cHTTP_NO_CONTENT [CamlGI.Cgi]
cHTTP_OK [CamlGI.Cgi]
cHTTP_PARTIAL_CONTENT [CamlGI.Cgi]
cHTTP_PAYMENT_REQUIRED [CamlGI.Cgi]
cHTTP_PRECONDITION_FAILED [CamlGI.Cgi]
cHTTP_PROCESSING [CamlGI.Cgi]
cHTTP_PROXY_AUTHENTICATION_REQUIRED [CamlGI.Cgi]
cHTTP_RANGE_NOT_SATISFIABLE [CamlGI.Cgi]
cHTTP_REQUEST_ENTITY_TOO_LARGE [CamlGI.Cgi]
cHTTP_REQUEST_TIME_OUT [CamlGI.Cgi]
cHTTP_REQUEST_URI_TOO_LARGE [CamlGI.Cgi]
cHTTP_RESET_CONTENT [CamlGI.Cgi]
cHTTP_SEE_OTHER [CamlGI.Cgi]
cHTTP_SERVICE_UNAVAILABLE [CamlGI.Cgi]
cHTTP_SWITCHING_PROTOCOLS [CamlGI.Cgi]
cHTTP_TEMPORARY_REDIRECT [CamlGI.Cgi]
cHTTP_UNAUTHORIZED [CamlGI.Cgi]
cHTTP_UNPROCESSABLE_ENTITY [CamlGI.Cgi]
cHTTP_UNSUPPORTED_MEDIA_TYPE [CamlGI.Cgi]
cHTTP_USE_PROXY [CamlGI.Cgi]
cHTTP_VARIANT_ALSO_VARIES [CamlGI.Cgi]
cHTTP_VERSION_NOT_SUPPORTED [CamlGI.Cgi]
cLENGTH_REQUIRED [CamlGI.Cgi]
cMETHOD_NOT_ALLOWED [CamlGI.Cgi]
cMOVED [CamlGI.Cgi]
cMULTIPLE_CHOICES [CamlGI.Cgi]
cNOT_ACCEPTABLE [CamlGI.Cgi]
cNOT_FOUND [CamlGI.Cgi]
cNOT_IMPLEMENTED [CamlGI.Cgi]
cPARTIAL_CONTENT [CamlGI.Cgi]
cPRECONDITION_FAILED [CamlGI.Cgi]
cREDIRECT [CamlGI.Cgi]
cSERVER_ERROR [CamlGI.Cgi]
cUSE_LOCAL_COPY [CamlGI.Cgi]
cVARIANT_ALSO_VARIES [CamlGI.Cgi]
close [CamlGI.Sendmail]
Close the output channel.
cookie [CamlGI.Cookie]
cookie ?expires ?domain ?path name value creates a cookie with name name and value value.

G
gateway [CamlGI.Cgi.Request]
The type and version of the CGI used.

L
long [CamlGI.Expires]
Generate a date now + 2 years.

M
make [CamlGI.Expires]
make s generates an a date s seconds from now in fixed format (RFC 1123).
make [CamlGI.Cgi.Cgi_args]
make bindings returns a query string from the list bindings of name, value pairs.
medium [CamlGI.Expires]
Generate a date now + 24 hours.
metavar [CamlGI.Cgi.Request]
metavar r name returns the CGI metavariable name for the request r.

P
parse [CamlGI.Cookie]
parse header parse zero or more cookies.
parse [CamlGI.Cgi.Cgi_args]
parse qs parses up a standard CGI query string (such as "a=1&b=2"), and returns the list of name, value pairs.
past [CamlGI.Expires]
Generate an date in the past (in theory this forces caches along the way to remove content).
path_info [CamlGI.Cgi.Request]
Returns the PATH_INFO, that is the portion of the URI following the script name but preceding the query data.
prerr_string [CamlGI.Cgi.Request]
print_string [CamlGI.Cgi.Request]
protocol [CamlGI.Cgi.Request]
The protocol of the request, in uppercase.

R
random_sessionid [CamlGI.Cgi]
Generates a 128 bit (32 hex digits) random string which can be used for session IDs, random cookies and so on.
register_script [CamlGI.Cgi]
Scripts must call register_script fn once to register their main function.
remote_addr [CamlGI.Cgi.Request]
The IP adress of the client making the request.
role [CamlGI.Cgi.Request]
The role of the script.

S
send [CamlGI.Sendmail]
Begin sending an email.
send_mail [CamlGI.Sendmail]
This is a less flexible, but simpler interface to sending mail.
sendmail [CamlGI.Sendmail]
This contains the path to sendmail (or the binary which acts like sendmail, as in the case of exim).
sendmail_args [CamlGI.Sendmail]
This contains the arguments passed to sendmail, normally "-t -i".
server_name [CamlGI.Cgi.Request]
Name of the server, derived from the host part of the script URI.
server_port [CamlGI.Cgi.Request]
The port on which the request was received.
server_software [CamlGI.Cgi.Request]
The name and version of the web server software answering the request.
short [CamlGI.Expires]
Generate a date now + 5 minutes.

U
user [CamlGI.Cgi.Request]
The user-ID supplied when auth r = "Basic".
user_agent [CamlGI.Cgi.Request]
The identification of the client browser.