We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25002d5 commit 6fdb63dCopy full SHA for 6fdb63d
src/main/java/com/ning/http/client/Realm.java
@@ -566,6 +566,16 @@ private void newResponse() throws UnsupportedEncodingException {
566
.toString().getBytes("ISO-8859-1"));
567
byte[] ha1 = md.digest();
568
569
+ if ("MD5-sess".equals(algorithm)) {
570
+ md.update(new StringBuilder(toBase16(ha1))
571
+ .append(":")
572
+ .append(nonce)
573
574
+ .append(cnonce)
575
+ .toString().getBytes("ISO-8859-1"));
576
+ ha1 = md.digest();
577
+ }
578
+
579
md.reset();
580
581
//HA2 if qop is auth-int is methodName:url:md5(entityBody)
0 commit comments