Hi all,
Why does the new Java 11 HTTP client disallow sending the date header
(https://tools.ietf.org/html/rfc7231#section-7.1.1.2) with a request? I was
excited to convert a bunch of code to use the new built-in HTTP client, and by
chance, the first use case I picked was this:
String date = H
you to
quarantine the behavior to a single HTTP client within the JVM.
Thanks for your consideration,
Anders Wisch
evaluate this request, can you please provide
> use-cases for such. What “secure” server are you trying
> to connect to that is unwilling to identify itself in its
> certificate.
>
> -Chris.
>
>> On 1 Nov 2018, at 17:48, Anders Wisch wrote:
>>
>> Hi all,
>
y TrustManager (if it's only for
> testing).
>
> - Michael.
>
> On 01/11/2018, 18:09, Anders Wisch wrote:
>> Thankfully, all of my uses are for testing. To test hostname-based redirects
>> or integration tests of
>> server code under SSL I start short-live
n progress for
> https://bugs.openjdk.java.net/browse/JDK-8213189
> which will allow the "Host" header to be overridden, along with some of the
> other currently
> restricted ones.
>
> I don't follow the other point though. With a dummy TrustManager, the
> conte