From 8eebfe175f0b7a8c81557c2e2de7741da11841f8 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Thu, 2 Nov 2023 17:35:31 +0000 Subject: [PATCH] Update links --- aiohttp/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index bce76aff2dd..19710e15edc 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -1092,8 +1092,8 @@ def should_remove_content_length(method: str, code: int) -> bool: This should always be a subset of must_be_empty_body """ - # https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6-7 # https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6-8 + # https://www.rfc-editor.org/rfc/rfc9110.html#section-15.4.5-4 return ( code in {204, 304} or 100 <= code < 200