RFR: 8292044: HttpClient doesn't handle 102 or 103 properly [v4]

Jaikiran Pai jpai at openjdk.org
Fri Sep 9 07:55:46 UTC 2022


On Fri, 9 Sep 2022 07:23:53 GMT, Julian Reschke <duke at openjdk.org> wrote:

>> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   ignore 100 response when request isn't configured for expect continue
>
> src/java.net.http/share/classes/jdk/internal/net/http/Exchange.java line 503:
> 
>> 501:         // we ignore any response code which is 1xx.
>> 502:         // For 100 (with the request configured to expect-continue) and 101, we handle it
>> 503:         // specifically as defined in the RFC-2616 (HTTP 1.1 spec), outside of this method.
> 
> RFC 2616 is irrelevant. You need to look at RFC 9110 and 9112.

Thank you Julian for those references. I've cleaned up this comment in the updated version of this PR.

-------------

PR: https://git.openjdk.org/jdk/pull/10169


More information about the net-dev mailing list