JDK-8338403 : Release Note: HttpClient 100-continue Timeout
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2024-08-14
  • Updated: 2025-02-07
  • Resolved: 2024-08-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24Resolved
Description
`java.net.http.HttpClient` would previously timeout if a server didn’t respond to a request which included a `Expect: 100-Continue` header. 

This release updates `HttpClient` to send the request body if the server doesn’t respond. This brings the implementation in line with RFC 9110.