[Checkins] [zopefoundation/Zope] d5d72e: Cleanup and make base request/response new-style c...
GitHub
noreply at github.com
Thu Sep 8 11:50:23 CEST 2016
Branch: refs/heads/master
Home: https://github.com/zopefoundation/Zope
Commit: d5d72e9adead373b221c4f541c8cbc55e4e5e907
https://github.com/zopefoundation/Zope/commit/d5d72e9adead373b221c4f541c8cbc55e4e5e907
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M src/ZPublisher/BaseRequest.py
M src/ZPublisher/BaseResponse.py
M src/ZPublisher/HTTPResponse.py
Log Message:
-----------
Cleanup and make base request/response new-style classes.
Commit: c85b579a788a98b23dfc7f68f57256def17d2b99
https://github.com/zopefoundation/Zope/commit/c85b579a788a98b23dfc7f68f57256def17d2b99
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M src/Testing/ZopeTestCase/functional.py
M src/Testing/ZopeTestCase/zopedoctest/functional.py
M src/ZPublisher/HTTPRequest.py
M src/ZPublisher/HTTPResponse.py
M src/ZPublisher/WSGIPublisher.py
M src/ZPublisher/tests/test_WSGIPublisher.py
M src/ZPublisher/tests/test_pubevents.py
Log Message:
-----------
Move WSGI request/response classes into http request/response modules.
Commit: 665b64e387ac85877903b1122a83be1d659bb85d
https://github.com/zopefoundation/Zope/commit/665b64e387ac85877903b1122a83be1d659bb85d
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M CHANGES.rst
M requirements.txt
M setup.py
M src/ZPublisher/HTTPRequest.py
M src/ZPublisher/HTTPResponse.py
M src/ZPublisher/WSGIPublisher.py
M src/ZPublisher/tests/test_WSGIPublisher.py
M versions-prod.cfg
Log Message:
-----------
Separate HTTP and WSGI response classes.
Split a common base class out of them and move ZServer specific logic
onto HTTPResponse without impacting WSGIResponse.
Also change the error generating methods on WSGIResponse to raise
exceptions rather than returning responses. It's the publishers job
to turn them into responses and now they get treated in the same way
as when they get raised directly.
Compare: https://github.com/zopefoundation/Zope/compare/debe70794739...665b64e387ac
More information about the checkins
mailing list