[Checkins] [zopefoundation/Zope] c42413: Add support for raising HTTPOK and HTTPRedirection...
GitHub
noreply at github.com
Sat Sep 3 11:31:05 CEST 2016
Branch: refs/heads/master
Home: https://github.com/zopefoundation/Zope
Commit: c42413734ac57135ea9d4fffa428631787aea6fe
https://github.com/zopefoundation/Zope/commit/c42413734ac57135ea9d4fffa428631787aea6fe
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2016-09-03 (Sat, 03 Sep 2016)
Changed paths:
M CHANGES.rst
M src/App/ApplicationManager.py
M src/App/FactoryDispatcher.py
M src/App/Undo.py
M src/OFS/DTMLDocument.py
M src/OFS/DTMLMethod.py
M src/OFS/Image.py
M src/OFS/PropertySheets.py
M src/OFS/owner.py
M src/OFS/userfolder.py
M src/Products/Five/browser/adding.py
M src/Products/PageTemplates/ZopePageTemplate.py
M src/ZPublisher/HTTPResponse.py
M src/ZPublisher/Publish.py
M src/ZPublisher/WSGIPublisher.py
Log Message:
-----------
Add support for raising HTTPOK and HTTPRedirection exceptions.
These need special casing in the publisher to be treated as successful
and result in transaction commits. Also prefer `raise Redirect` style
over `REQUEST.RESPONSE.redirect`.
More information about the checkins
mailing list