<div dir="ltr">Hello Folks.<br><br>Is there a typo in the example shown in <a href="https://openjdk.org/groups/net/httpclient/intro.html">https://openjdk.org/groups/net/httpclient/intro.html</a>?<br><br><span style="font-family:monospace">HttpClient client = HttpClient.newBuilder()<br>      .version(Version.HTTP_2)<br>      .followRedirects(Redirect.<span style="background-color:rgb(255,255,0)">SAME_PROTOCOL</span>)<br>      .proxy(ProxySelector.of(new InetSocketAddress("<a href="http://www-proxy.com">www-proxy.com</a>", 8080)))<br>      .authenticator(Authenticator.getDefault())<br>      .build();</span><br><br>I believe that the enum value <span style="font-family:monospace">SAME_PROTOCOL</span> was replaced by <span style="font-family:monospace">NORMAL</span> (<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.Redirect.html">Java Doc</a>).<br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div><br></div>With kind regards,<br>Albert Attard</div></div></div>