[Zope-PAS] Re: Merging my branch to the head tomorrow

Zachery Bir zbir at urbanape.com
Tue Nov 23 10:28:30 EST 2004


On Nov 23, 2004, at 10:22 AM, Chris Withers wrote:

> Zachery Bir wrote:
>> I actually changed the implementation to use response.setBody(), 
>> which does some nice paper work (setting the content length headers 
>> and so on), but then to override response's setBody method after the 
>> fact, so that exception doesn't munge it any more.
>
> If I'm getting you right, in Zope 2.8, this could be simplified to 
> just use the optional "lock" parameter to setBody, right?

Yes! Since I implemented it against Zope 2.7, I had to make the nasty 
aforementioned hack. I'd love to have it use a standard API.

Zac



More information about the Zope-PAS mailing list