Add tests for HTTP 307 permanent redirects

This commit is contained in:
Paul Tremberth 2017-07-26 19:07:57 +02:00
parent 1fdc10684f
commit 15a5c533fa
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ class RedirectMiddlewareTest(unittest.TestCase):
_test('POST')
_test('HEAD')
_test('GET', status=307)
_test('POST', status=307)
_test('HEAD', status=307)
_test('GET', status=308)
_test('POST', status=308)
_test('HEAD', status=308)