Package qm :: Module web :: Class CGIWebRequest
[hide private]
[frames] | no frames]

Class CGIWebRequest
source code

A 'WebRequest' object initialized from the CGI environment.

Instance Methods [hide private]
  __init__(self)
Create a new request from the current CGI environment.
  GetUrl(self)
  __getitem__(self, key)
  keys(self)
  has_key(self, key)
  copy(self)
Return a copy of the request.

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Create a new request from the current CGI environment.

preconditions -- The CGI environment (environment variables etc.) must be in place.

GetUrl(self)

source code 

__getitem__(self, key)
(Indexing operator)

source code 

keys(self)

source code 

has_key(self, key)

source code 

copy(self)

source code 

Return a copy of the request.

The copy isn't tied to the CGI environment, so it can be modified safely.