Discourage the use of the upper-case RESPONSE attribute. The lower-case

response attribute works perfectly fine (and has for ages) and it has the
advantage of being supported by Zope 3 as well.
parent 0597da9a
......@@ -3,7 +3,7 @@
# Import a standard function, and get the HTML request and response objects.
from Products.PythonScripts.standard import html_quote
request = container.REQUEST
RESPONSE = request.RESPONSE
response = request.response
# Return a string identifying this script.
print "This is the", script.meta_type, '"%s"' % script.getId(),
......
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