My Oracle Support Banner

HttpURLConnection Retries the POST Request When IOException Is Generated While Waiting for the Response (Doc ID 2663542.1)

Last updated on MARCH 31, 2023

Applies to:

Java SE JDK and JRE - Version 7 and later
Information in this document applies to any platform.

Symptoms

When java.net.HttpURLConnection is used for a HTTP POST request and an IOException is generated while waiting for the response, the POST request may be sent to the server twice by HttpURLConnection.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.