Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 422 Bytes

2026-10-15-21-54-33.gh-issue-150751.VrtqAh.rst

File metadata and controls

6 lines (6 loc) · 422 Bytes

:mod:`http.client` now handles a repeated or comma-separated Content-Length header as required by RFC 9112: identical values frame the response body like a single header, while differing values are treated as an invalid header and the body is read until the connection is closed. Previously the first of several Content-Length headers was used, which could leave part of the body unread on a reused connection.