Pike v8.1 release 6

Class Web.CGI.Request

Description

Retrieves information about a CGI request from the environment and creates an object with the request information easily formatted.


Variable client

array(string) Web.CGI.Request.client


Variable config

multiset(string) Web.CGI.Request.config

Description

If used with Roxen or Caudium webservers, this field will be populated with "config" information.


Variable cookies

mapping(string:string) Web.CGI.Request.cookies


Variable data

string Web.CGI.Request.data


Variable method

string Web.CGI.Request.method


Variable misc

mapping(string:int|string|array(string)) Web.CGI.Request.misc


Variable pragma

multiset(string) Web.CGI.Request.pragma


Variable prestate

multiset(string) Web.CGI.Request.prestate

Description

If used with Roxen or Caudium webservers, this field will be populated with "prestate" information.


Variable prot

string Web.CGI.Request.prot


Variable query
Variable rest_query

string Web.CGI.Request.query
string Web.CGI.Request.rest_query


Variable referer

array(string) Web.CGI.Request.referer


Variable remoteaddr
Variable remotehost

string Web.CGI.Request.remoteaddr
string Web.CGI.Request.remotehost


Variable supports

multiset(string) Web.CGI.Request.supports

Description

If used with Roxen or Caudium webservers, this field will be populated with "supports" information.


Variable variables

mapping(string:array(string)) Web.CGI.Request.variables


Method create

Web.CGI.Request Web.CGI.Request()

Description

creates the request object. To use, create a Request object while running in a CGI environment. Environment variables will be parsed and inserted in the appropriate fields of the resulting object.