[Checkins] [zopefoundation/zope.publisher] 27390a: Fix isHTML check under Python 3

Wolfgang Schnerring noreply at github.com
Mon Jun 8 09:16:36 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.publisher
  Commit: 27390a6b4db2c8e0f7d04fd899abcabce9de5b16
      https://github.com/zopefoundation/zope.publisher/commit/27390a6b4db2c8e0f7d04fd899abcabce9de5b16
  Author: Wolfgang Schnerring <wolfgang.schnerring at zeit.de>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M src/zope/publisher/browser.py
    M src/zope/publisher/tests/test_browserresponse.py

  Log Message:
  -----------
  Fix isHTML check under Python 3

setResult accepts "basestring" (which is defined as `(str, bytes)`),
so isHTML must be able to handle bytes as well.


  Commit: b1b7ef5e386b05ec024728eb768c3cba76fcb4b9
      https://github.com/zopefoundation/zope.publisher/commit/b1b7ef5e386b05ec024728eb768c3cba76fcb4b9
  Author: Wolfgang Schnerring <wolfgang.schnerring at zeit.de>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M src/zope/publisher/http.py
    M src/zope/publisher/tests/test_http.py

  Log Message:
  -----------
  Fix text/bytes handling in HTTP setResult


  Commit: fadb00c7a07253c50ba7a6a1667795d09fb6cecf
      https://github.com/zopefoundation/zope.publisher/commit/fadb00c7a07253c50ba7a6a1667795d09fb6cecf
  Author: Wolfgang Schnerring <wolfgang.schnerring at zeit.de>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M src/zope/publisher/http.py
    M src/zope/publisher/tests/test_http.py

  Log Message:
  -----------
  More text/bytes handling fixes after b1b7ef5


  Commit: b1cb605f9e5736edaea7fbd7e1ad3c161ae723b3
      https://github.com/zopefoundation/zope.publisher/commit/b1cb605f9e5736edaea7fbd7e1ad3c161ae723b3
  Author: Wolfgang Schnerring <wolfgang.schnerring at zeit.de>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M src/zope/publisher/browser.py
    M src/zope/publisher/tests/test_browserresponse.py

  Log Message:
  -----------
  Catch decode error in b1b7ef5


  Commit: 2c71d6b6670d1c546bd6cd088fcfc7f53fbdc463
      https://github.com/zopefoundation/zope.publisher/commit/2c71d6b6670d1c546bd6cd088fcfc7f53fbdc463
  Author: Wolfgang Schnerring <wolfgang.schnerring at zeit.de>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Update changelog


  Commit: a2f27be140db9265fb7f9c02feb9a0287da449be
      https://github.com/zopefoundation/zope.publisher/commit/a2f27be140db9265fb7f9c02feb9a0287da449be
  Author: Wolfgang Schnerring <wolfgang.schnerring at zeit.de>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M CHANGES.rst
    M src/zope/publisher/browser.py
    M src/zope/publisher/http.py
    M src/zope/publisher/tests/test_browserresponse.py
    M src/zope/publisher/tests/test_http.py

  Log Message:
  -----------
  Merge pull request #51 from ZeitOnline/ishtml-py3


Compare: https://github.com/zopefoundation/zope.publisher/compare/2d6badc7f697...a2f27be140db


More information about the checkins mailing list