[Checkins] [zopefoundation/zope.testbrowser] eaaea9: Don't follow redirects for all 30x response status...

GitHub noreply at github.com
Wed Feb 1 17:56:43 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testbrowser
  Commit: eaaea9460a505daa4639eb84dd61973c5ab4dd85
      https://github.com/zopefoundation/zope.testbrowser/commit/eaaea9460a505daa4639eb84dd61973c5ab4dd85
  Author: David Glick <david at glicksoftware.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/testbrowser/browser.py
    M src/zope/testbrowser/ftests/wsgitestapp.py
    M src/zope/testbrowser/tests/test_wsgi.py

  Log Message:
  -----------
  Don't follow redirects for all 30x response status codes.

Some 30x codes do not indicate redirects, such as 304.

This follows redirects for the same status codes that mechanize did
(301, 302, 303, 307)


  Commit: 136adf03bfd17cfd2d994707d70938580a0d95ba
      https://github.com/zopefoundation/zope.testbrowser/commit/136adf03bfd17cfd2d994707d70938580a0d95ba
  Author: David Glick <david.glick at plone.org>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/testbrowser/browser.py
    M src/zope/testbrowser/ftests/wsgitestapp.py
    M src/zope/testbrowser/tests/test_wsgi.py

  Log Message:
  -----------
  Merge pull request #22 from zopefoundation/fix-redirect-handling

Don't follow redirects for all 30x response status codes.


Compare: https://github.com/zopefoundation/zope.testbrowser/compare/b9b5b272dd24...136adf03bfd1


More information about the checkins mailing list