Commit fd6e1a48 authored by Aurel's avatar Aurel Committed by Arnaud Fontaine

apply setBody patch only in zope2

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