[Zope-Checkins] CVS: Releases/Zope/lib/python/Products/OFSP/help - Request.py:1.8

Matthew T. Kromer matt@zope.com
Tue, 13 Nov 2001 16:01:34 -0500


Update of /cvs-repository/Releases/Zope/lib/python/Products/OFSP/help
In directory cvs.zope.org:/tmp/cvs-serv10978

Modified Files:
	Request.py 
Log Message:
Updated with lazy item mention


=== Releases/Zope/lib/python/Products/OFSP/help/Request.py 1.7 => 1.8 ===
     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