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
519627ca
Commit
519627ca
authored
Jun 28, 2000
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed signature bugs
parent
1066bfbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
23 deletions
+19
-23
lib/python/Products/OFSP/help/PropertySheet.py
lib/python/Products/OFSP/help/PropertySheet.py
+1
-1
lib/python/Products/OFSP/help/Response.py
lib/python/Products/OFSP/help/Response.py
+18
-22
No files found.
lib/python/Products/OFSP/help/PropertySheet.py
View file @
519627ca
...
...
@@ -84,7 +84,7 @@
##############################################################################
class
PropertySheet
:
"""
"
"""
A PropertySheet is an abstraction for organizing and working
with a set of related properties. Conceptually it acts like a
...
...
lib/python/Products/OFSP/help/Response.py
View file @
519627ca
...
...
@@ -121,7 +121,7 @@ class Response:
'''
def
setHeader
(
self
,
name
,
value
,
literal
=
0
):
def
setHeader
(
self
,
name
,
value
):
'''
Sets an HTTP return header "name" with value "value", clearing
...
...
@@ -144,27 +144,6 @@ class Response:
'''
def
setBody
(
self
,
body
,
title
=
''
,
is_error
=
0
):
'''
Set the body of the response
Sets the return body equal to the (string) argument
"body". Also updates the "content-length" return header.
You can also specify a title, in which case the title and body
will be wrapped up in html, head, title, and body tags.
If the body is a 2-element tuple, then it will be treated as
(title,body)
If is_error is true then the HTML will be formatted as a Zope
error message instead of a generic HTML page.
Permission - Always available
'''
def
setBase
(
self
,
base
):
"""
...
...
@@ -239,3 +218,20 @@ class Response:
Permission - Always available
"""
def
write
(
self
,
data
):
"""
\
Return data as a stream
HTML data may be returned using a stream-oriented interface.
This allows the browser to display partial results while
computation of a response to proceed.
The published object should first set any output headers or
cookies on the response object.
Note that published objects must not generate any errors
after beginning stream-oriented output.
"""
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