michael-o commented on code in PR #872:
URL: 
https://github.com/apache/httpcomponents-client/pull/872#discussion_r3782961837


##########
httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java:
##########
@@ -182,12 +201,36 @@ public String getRealm() {
         return this.paramMap.get("realm");
     }
 
+    @Override
+    public boolean isChallengeExpected() {
+        return this.expectAuthInfo;
+    }
+
     @Override
     public void processChallenge(
             final AuthChallenge authChallenge,
             final HttpContext context) throws MalformedChallengeException {
+        try {
+            processChallenge(null, true, authChallenge, context);
+        } catch (final AuthenticationException ex) {
+            throw new MalformedChallengeException(ex.getMessage(), ex);

Review Comment:
   This basically duplicates the message, no?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to