Merge pull request #3579 from benoitc/asgi-framework-compat-tests

Fix RFC 9110 section reference: 8.6 not 15.2
This commit is contained in:
Benoit Chesneau 2026-04-04 03:15:01 +02:00 committed by GitHub
commit 8cf10ec79e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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