Fix RFC 9110 section reference: 8.6 not 15.2

This commit is contained in:
Benoit Chesneau 2026-04-04 03:10:52 +02:00
parent 97fcc6f1ee
commit 3936905c3f

View File

@ -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