> Do not send the Content-Length header on HTTP/1.1 requests when the content > length is known to be zero and the method does not expect content or is > unknown. > > This brings the HTTP/1.1 implementation in line with the recommendations from > RFC 9110. > > The existing ContentLengthHeaderTest was extended to cover the modified > scenarios. > > Tier1-3 tests continue to pass.
Daniel Jeliński has updated the pull request incrementally with one additional commit since the last revision: Remove leftover check ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27727/files - new: https://git.openjdk.org/jdk/pull/27727/files/76dc259d..a2d13e45 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27727&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27727&range=03-04 Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/27727.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27727/head:pull/27727 PR: https://git.openjdk.org/jdk/pull/27727
