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

GitHub noreply at github.com
Wed Feb 1 17:36:08 CET 2017


  Branch: refs/heads/fix-redirect-handling
  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)




More information about the checkins mailing list