<html><body><div dir="ltr"><div>
  
  
  
    
    </div><div><div dir="ltr">BTW this could also include callbacks for redirects (and maybe even retries?).</div>
    
    <div id="ms-outlook-mobile-signature"><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"><div><span>Gruß,</span></div><div><span>Bernd</span></div><div><span>-- </span></div></div><div style="direction: ltr;">https://bernd.eckenfels.net</div></div></div>
  

<div> </div><hr style="display:inline-block;width:98%" tabindex="-1"><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"><b>Von:</b> net-dev <net-dev-retn@openjdk.org> im Auftrag von Jaikiran Pai <jai.forums2013@gmail.com><br><b>Gesendet:</b> Dienstag, Januar 28, 2025 3:05 PM<br><b>An:</b> net-dev@openjdk.org <net-dev@openjdk.org><br><b>Betreff:</b> Re: https://bugs.openjdk.org/browse/JDK-8294196<div> </div></font></div>Thank you Julian for this. We do plan to pursue this enhancement further 
<br>with the inputs that we have received so far. Once the change/PR is 
<br>ready for review, I'll respond here.
<br>
<br>-Jaikiran
<br>
<br>On 09/01/25 8:00 pm, Julian Reschke wrote:
<br>> Hi there.
<br>>
<br>> I'd like to get back to the topic
<br>>
<br>> "Investigate introducing an API on the HttpClient which allows
<br>> applications to get access to "interim" HTTP responses" --
<br>> https://bugs.openjdk.org/browse/JDK-8294196
<br>>
<br>> To avoid confusion: the *bugs* with respect to handling 1xx responses
<br>> have been thankfully fixed (see
<br>> https://github.com/openjdk/jdk/pull/10229 and
<br>> https://github.com/openjdk/jdk/pull/10169).
<br>>
<br>> What's still missing is a way to actually inspect the contents of the
<br>> 1xx messages while waiting for a final response (status >= 200). That
<br>> could be a callback that provides the status code and the response
<br>> header fiels when 1xx messages are received.
<br>>
<br>> This would be useful when processing 103 messages (Early Hints - RFC
<br>> 8297) or 104 messages (Upload Resumption Supported - used for
<br>> "draft-ietf-httpbis-resumable-upload").
<br>>
<br>> Use cases are summarized over here:
<br>>
<br>>  https://github.com/greenbytes/java-http-1xx-tests
<br>>
<br>> (tests live here as well).
<br>>
<br>> Let me know if more information is needed.
<br>>
<br>> Best regards, Julian
<br>
<br></div><div id="ms-outlook-mobile-signature"><div><br></div><div dir="ltr"><div dir="ltr"><div><span>Gruß,</span></div><div><span>Bernd</span></div><div><span>-- </span></div></div><div style="direction:ltr">https://bernd.eckenfels.net</div></div></div></div></body></html>