Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
74d45d0c
Commit
74d45d0c
authored
Sep 08, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got cookies out of request str.
parent
45df5724
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+7
-10
No files found.
lib/python/ZPublisher/Publish.py
View file @
74d45d0c
...
@@ -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.4
7 1997/09/02 21:18:53
jim Exp $"""
$Id: Publish.py,v 1.4
8 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.4
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
8
$'
[
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment