Commit 43c781e7 authored by Aurel's avatar Aurel Committed by Jérome Perrin

apply setBody patch only in zope2

parent 543663e8
...@@ -101,6 +101,7 @@ if 1: # upstream moved WSGIResponse to HTTPResponse.py ...@@ -101,6 +101,7 @@ if 1: # upstream moved WSGIResponse to HTTPResponse.py
if lock: if lock:
self._locked_body = 1 self._locked_body = 1
if not isZope4:
WSGIResponse.setBody = setBody WSGIResponse.setBody = setBody
def write(self, data): def write(self, data):
......
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