public void testDigestAuthenticationWithStaleNonce() throws Exception {
final String challenge = "Digest realm=\"realm1\", " +
"nonce=\"f2a3f18799759d4f1a1c068b92b573cb\", stale=\"true\"";
final Header authChallenge = new BasicHeader(AUTH.WWW_AUTH, challenge);
final AuthScheme authscheme = new DigestScheme();
authscheme.processChallenge(authChallenge);
Assert.assertFalse(authscheme.isComplete());
}
private static Map<String, String> parseAuthResponse(final Header authResponse) {