Hi, Even though many tutorial said that the new java.net.http.HttpClient support Digest authentication it's not true: https://github.com/openjdk/jdk/blob/master/src/java.net.http/share/classes/jdk/internal/net/http/AuthenticationFilter.java#L278 But at the same time HttpURLConnection support it through the simple: ------------------------------- Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication ( "username", "password".toCharArray() ); } }); ------------------------------- Is it a bug or you don't even plan to support it with HttpClient? Regards. -- Levente "Si vis pacem para bellum!"