From 3936905c3fb35bf917628f917b21746c338bdd26 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Sat, 4 Apr 2026 03:10:52 +0200 Subject: [PATCH] Fix RFC 9110 section reference: 8.6 not 15.2 --- tests/test_asgi_protocol_compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_asgi_protocol_compat.py b/tests/test_asgi_protocol_compat.py index 0bf0036a..0fd45665 100644 --- a/tests/test_asgi_protocol_compat.py +++ b/tests/test_asgi_protocol_compat.py @@ -89,7 +89,7 @@ class TestHttp100ContinueViaResponseStart: def test_100_status_should_not_add_transfer_encoding(self): """1xx responses MUST NOT have Transfer-Encoding header. - RFC 9110 Section 15.2: A server MUST NOT send a Content-Length + RFC 9110 Section 8.6: A server MUST NOT send a Content-Length header field in any response with a status code of 1xx. """ # Test the actual protocol logic for 1xx responses