Re: HTTP/308 handling in HttpURLConnection

2022-06-13 Thread Robert Stupp
Yup, I have one. Created https://bugs.openjdk.org/browse/JDK-8288295 <https://bugs.openjdk.org/browse/JDK-8288295> > Am 10.06.2022 um 14:13 schrieb Daniel Fuchs : > > Hi Robert, > > On 10/06/2022 11:54, Robert Stupp wrote: >> Does anyone recall why HTTP/308 was n

HTTP/308 handling in HttpURLConnection

2022-06-10 Thread Robert Stupp
[moved from jdk-dev, additional information at the end] I just stumbled upon a behavior in HttpURLConnection.openConnectionCheckRedirects() regarding the HTTP redirect handling. The concrete situation was a http-to-https „upgrade“, when a load balancer responds with a HTTP 308 for requests aga