10 Feb
2005
10 Feb
'05
7:11 p.m.
Peter Sabaini wrote at 2005-2-10 12:05 +0100:
this one has got me stumped; from the traceback:
""" Module ZPublisher.HTTPRequest, line 1220, in __getattr__
AttributeError: RESPONSE """
AFAIK the REQUEST object should *always* have a RESPONSE attribute, right?
Indeed. It is set in "ZPublisher.HTTPRequest.HTTPRequest.__init__", i.e. in the request constructor itself. However, it lives in "REQUEST.other" and this could be cleared (by malicious or at least surprising code)... -- Dieter