fix: redirects

This commit is contained in:
2026-04-20 23:28:24 +02:00
parent 74c4cf45d7
commit 966bbdbdf0
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -761,7 +761,7 @@ class TestRequestHandler(BaseHandlerTestCase):
"X-Forwarded-For": "127.0.0.1",
"X-Forwarded-Proto": "https",
},
"allow_redirects": True,
"allow_redirects": False,
"timeout": 480,
},
),
@@ -804,7 +804,7 @@ class TestRequestHandler(BaseHandlerTestCase):
"X-Forwarded-Proto": "https",
"Content-Length": "5",
},
"allow_redirects": True,
"allow_redirects": False,
"timeout": 480,
},
),
@@ -845,7 +845,7 @@ class TestRequestHandler(BaseHandlerTestCase):
"X-Forwarded-For": "127.0.0.1",
"X-Forwarded-Proto": "https",
},
"allow_redirects": True,
"allow_redirects": False,
"timeout": 480,
},
),
@@ -878,7 +878,7 @@ class TestRequestHandler(BaseHandlerTestCase):
"X-Forwarded-For": "127.0.0.1",
"X-Forwarded-Proto": "https",
},
"allow_redirects": True,
"allow_redirects": False,
"timeout": 480,
},
) as request_mock,
@@ -920,7 +920,7 @@ class TestRequestHandler(BaseHandlerTestCase):
"X-Forwarded-For": "127.0.0.1",
"X-Forwarded-Proto": "https",
},
"allow_redirects": True,
"allow_redirects": False,
"timeout": 480,
},
),
@@ -959,7 +959,7 @@ class TestRequestHandler(BaseHandlerTestCase):
"X-Forwarded-For": "127.0.0.1",
"X-Forwarded-Proto": "https",
},
"allow_redirects": True,
"allow_redirects": False,
"timeout": 480,
},
),