Home | Trees | Indices | Help |
---|
|
An object representing a request from the web server.
A 'WebRequest' object behaves as a dictionary of key, value pairs representing query arguments, for instance query fields in a POST, or arguments encoded in a URL query string. It has some other methods as well.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Create a new request object. 'script_url' -- The URL of the script that processes this query. 'base' -- A request object from which the session ID will be duplicated, or 'None'. 'fields' -- The query arguments. |
Return the name of the script that processes this request. The script name is the final element of the full URL path. |
Return the session ID for this request. returns -- A session ID, or 'None'. |
Return the session for this request. raises -- 'NoSessionError' if no session ID is specified in the request. raises -- 'InvalidSessionError' if the session ID specified in the request is invalid. |
Return the URL representation of this request. 'fields_at_end' -- If not 'None', the name of the URL query arguments that should be placed last in the list of arugmnets (other than this, the order of query arguments is not defined). |
Return an opening form tag for this request. 'method' -- The HTML method to use for the form, either "get" or "post". 'name' -- A name for the form, or 'None'. returns -- An opening form tag for the request, plus hidden input elements for arguments to the request. The caller must add additional inputs, the submit input, and close the form tag. |
Return a duplicate of this request. 'url' -- The URL for the request copy. If 'None', use the URL of the source. '**fields' -- Additional fields to set in the copy. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:42 2011 | http://epydoc.sourceforge.net |