Provide basic ZPublisher request management
This object provides access to request data. Request data may
vary depending on the protocol used.
Request objects are created by the object publisher and will be
passed to published objects through the argument name, REQUEST.
The request object is a mapping object that represents a
collection of variable to value mappings.
Methods
|
|
|
|
__getitem__
|
__getitem__ (
self,
key,
default=_marker,
)
Get a variable value
Return a value for the required variable name.
The value will be looked up from one of the request data
categories. The search order is environment variables,
other variables, form data, and then cookies.
|
|
__init__
|
__init__ (
self,
other=None,
**kw,
)
The constructor is not allowed to raise errors
|
|
__len__
|
__len__ ( self )
|
|
__setitem__
|
__setitem__ (
self,
key,
value,
)
Set application variables
This method is used to set a variable in the requests "other"
category.
|
|
__str__
|
__str__ ( self )
|
|
_hold
|
_hold ( self, object )
Hold a reference to an object to delay it's destruction until mine
|
|
close
|
close ( self )
|
|
has_key
|
has_key ( self, key )
|
|
items
|
items ( self )
|
|
keys
|
keys ( self )
|
|
processInputs
|
processInputs ( self )
Do any input processing that could raise errors
|
|
supports_retry
|
supports_retry ( self )
|
|
traverse
|
traverse (
self,
path,
response=None,
validated_hook=None,
)
Traverse the object space
The REQUEST must already have a PARENTS item with at least one
object in it. This is typically the root object.
|
|
values
|
values ( self )
|
|