[Zope-Checkins] CVS: Zope/lib/python/Products/OFSP/help - Request.py:1.7.70.1
Matthew T. Kromer
matt@zope.com
Wed, 7 Nov 2001 15:34:19 -0500
Update of /cvs-repository/Zope/lib/python/Products/OFSP/help
In directory cvs.zope.org:/tmp/cvs-serv14360
Modified Files:
Tag: matt-Transience-branch
Request.py
Log Message:
Updated Request help for lazy items
=== Zope/lib/python/Products/OFSP/help/Request.py 1.7 => 1.7.70.1 ===
The request object is a mapping object that represents a
collection of variable to value mappings. In addition, variables
- are divided into four categories:
+ are divided into five categories:
- Environment variables
@@ -114,6 +114,18 @@
- Cookies
These are the cookie data, if present.
+
+ - Lazy Data
+
+ These are callables which are deferred until explicitly
+ referenced, at which point they are resolved (called) and
+ the result stored as "other" data, ie regular request data.
+
+ Thus, they are "lazy" data items. An example is SESSION objects.
+
+ Lazy data in the request may only be set by the Python
+ method set_lazy(name,callable) on the REQUEST object. This
+ method is not callable from DTML or through the web.
- Other