mirror of https://github.com/scrapy/scrapy.git
Add tests for HTTP 307 permanent redirects
This commit is contained in:
parent
1fdc10684f
commit
15a5c533fa
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue