Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
erp5
Commits
349511f5
Commit
349511f5
authored
Sep 28, 2021
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apply setBody patch only in zope2
parent
c0d75589
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5Type/patches/WSGIPublisher.py
product/ERP5Type/patches/WSGIPublisher.py
+2
-1
No files found.
product/ERP5Type/patches/WSGIPublisher.py
View file @
349511f5
...
@@ -100,7 +100,8 @@ if 1: # upstream moved WSGIResponse to HTTPResponse.py
...
@@ -100,7 +100,8 @@ if 1: # upstream moved WSGIResponse to HTTPResponse.py
if
lock
:
if
lock
:
self
.
_locked_body
=
1
self
.
_locked_body
=
1
WSGIResponse
.
setBody
=
setBody
if
not
isZope4
:
WSGIResponse
.
setBody
=
setBody
# According to PEP 333, WSGI applications and middleware are forbidden from
# According to PEP 333, WSGI applications and middleware are forbidden from
# using HTTP/1.1 "hop-by-hop" features or headers. This patch prevents Zope
# using HTTP/1.1 "hop-by-hop" features or headers. This patch prevents Zope
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment