Skip to content

Commit 2fc6af9

Browse files
committed
Update test since now we redirect 307 POST as well
1 parent 23ea698 commit 2fc6af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_urllib2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,7 @@ def test_redirect(self):
13941394
o = h.parent = MockOpener()
13951395

13961396
# ordinary redirect behaviour
1397-
for code in 301, 302, 303, 307, "refresh":
1397+
for code in 301, 302, 303, "refresh":
13981398
for data in None, "blah\nblah\n":
13991399
method = getattr(h, "http_error_%s" % code)
14001400
req = Request(from_url, data)

0 commit comments

Comments
 (0)