fix: http/1.1 and force close connection

This commit is contained in:
2026-05-06 16:01:15 +02:00
parent d9b559d13d
commit 4edcc6acc7
4 changed files with 21 additions and 6 deletions
+6
View File
@@ -859,6 +859,7 @@ class TestRequestHandler(BaseHandlerTestCase):
},
"allow_redirects": False,
"timeout": 480,
"stream": False,
},
),
self.expects_status_only(handler, 200, "OK"),
@@ -903,6 +904,7 @@ class TestRequestHandler(BaseHandlerTestCase):
},
"allow_redirects": False,
"timeout": 480,
"stream": False,
},
),
self.expects_status_only(handler, 200, "OK"),
@@ -945,6 +947,7 @@ class TestRequestHandler(BaseHandlerTestCase):
},
"allow_redirects": False,
"timeout": 480,
"stream": False,
},
),
self.expects_basic_body(handler, "hello", message="OK"),
@@ -979,6 +982,7 @@ class TestRequestHandler(BaseHandlerTestCase):
},
"allow_redirects": False,
"timeout": 480,
"stream": False,
},
) as request_mock,
self.expects_status_only(
@@ -1022,6 +1026,7 @@ class TestRequestHandler(BaseHandlerTestCase):
},
"allow_redirects": False,
"timeout": 480,
"stream": False,
},
),
self.expects_status_only(handler, 200, "OK"),
@@ -1062,6 +1067,7 @@ class TestRequestHandler(BaseHandlerTestCase):
},
"allow_redirects": False,
"timeout": 480,
"stream": False,
},
),
self.expects_status_only(handler, 200, "OK"),