[Checkins] [zopefoundation/Zope] d2e6e0: Fix Content-Length header for non-ascii responses ...
GitHub
noreply at github.com
Sun Sep 10 19:20:24 CEST 2017
Branch: refs/heads/master
Home: https://github.com/zopefoundation/Zope
Commit: d2e6e05c30a3bcda92e0422a01d1e130089fa8bc
https://github.com/zopefoundation/Zope/commit/d2e6e05c30a3bcda92e0422a01d1e130089fa8bc
Author: Hanno Schlichting <hanno at hannosch.eu>
Date: 2017-09-10 (Sun, 10 Sep 2017)
Changed paths:
M CHANGES.rst
M src/ZPublisher/HTTPResponse.py
M src/ZPublisher/tests/testHTTPResponse.py
Log Message:
-----------
Fix Content-Length header for non-ascii responses incl. a base tag.
The length was set to the lenght of the Unicode string and not the
bytes length.
More information about the checkins
mailing list