DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36339>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36339 ------- Additional Comments From [EMAIL PROTECTED] 2005-08-24 17:19 ------- Created an attachment (id=16177) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16177&action=view) logs for duplicate request preemptive authentication is activated (line 11 : http.authentication.preemptive = true) first request is send (line 52) server responds HTTP/1.1 401 (line 120) and requires basic authentication (line 138) WWW-Authenticate: Basic realm="Contact" AuthChallengeProcessor runs challenge (line 159) and retries authentication (line 162) second request (line 193) uses same credentials and gets same 401 (line 257) I've made some changed to processWWWAuthChallenge() to include (after line 690) : boolean usePreemptive = method.getParams().isParameterTrue(HttpClientParams.PREEMPTIVE_AUTHENTICATION); boolean useBasic = AuthPolicy.BASIC.equalsIgnoreCase(authscheme.getSchemeName()); if (usePreemptive && useBasic) { return false; } Using this, no challenge is processed. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
