Commit 74d45d0c authored by Jim Fulton's avatar Jim Fulton

Got cookies out of request str.

parent 45df5724
...@@ -491,7 +491,7 @@ Publishing a module using Fast CGI ...@@ -491,7 +491,7 @@ Publishing a module using Fast CGI
o Configure the Fast CGI-enabled web server to execute this o Configure the Fast CGI-enabled web server to execute this
file. file.
$Id: Publish.py,v 1.47 1997/09/02 21:18:53 jim Exp $""" $Id: Publish.py,v 1.48 1997/09/08 14:47:11 jim Exp $"""
#' #'
# Copyright # Copyright
# #
...@@ -546,7 +546,7 @@ $Id: Publish.py,v 1.47 1997/09/02 21:18:53 jim Exp $""" ...@@ -546,7 +546,7 @@ $Id: Publish.py,v 1.47 1997/09/02 21:18:53 jim Exp $"""
# See end of file for change log. # See end of file for change log.
# #
########################################################################## ##########################################################################
__version__='$Revision: 1.47 $'[11:-2] __version__='$Revision: 1.48 $'[11:-2]
def main(): def main():
...@@ -1206,9 +1206,6 @@ class Request: ...@@ -1206,9 +1206,6 @@ class Request:
Data that may be set by an application object. Data that may be set by an application object.
The request object has three attributes: "environ", "form",
"cookies", and "other" that are dictionaries containing this data.
The form attribute of a request is actually a Field Storage The form attribute of a request is actually a Field Storage
object. When file uploads are used, this provides a richer and object. When file uploads are used, this provides a richer and
more complex interface than is provided by accessing form data as more complex interface than is provided by accessing form data as
...@@ -1217,9 +1214,7 @@ class Request: ...@@ -1217,9 +1214,7 @@ class Request:
The request object may be used as a mapping object, in which case The request object may be used as a mapping object, in which case
values will be looked up in the order: environment variables, values will be looked up in the order: environment variables,
other variables, form data, and then cookies. Dot notation may be other variables, form data, and then cookies.
used in addition to indexing notation for variables with names
other than "environ", "form", "cookies", and "other".
""" """
def __init__(self,environ,form,stdin): def __init__(self,environ,form,stdin):
...@@ -1272,8 +1267,7 @@ class Request: ...@@ -1272,8 +1267,7 @@ class Request:
) )
return "%s\n%s\n%s" % ( return "%s\n%s\n%s" % (
str(self,'other'),str(self,'environ'), str(self,'other'),str(self,'environ'))
str(self,'cookies'))
__repr__=__str__ __repr__=__str__
...@@ -1463,6 +1457,9 @@ def publish_module(module_name, ...@@ -1463,6 +1457,9 @@ def publish_module(module_name,
# #
# $Log: Publish.py,v $ # $Log: Publish.py,v $
# Revision 1.48 1997/09/08 14:47:11 jim
# Got cookies out of request str.
#
# Revision 1.47 1997/09/02 21:18:53 jim # Revision 1.47 1997/09/02 21:18:53 jim
# Implemented new authorization model. # Implemented new authorization model.
# No longer use Realm module. # No longer use Realm module.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment