From 3e5426d54ba7b01e9a4d6d104f4562fc256ca357 Mon Sep 17 00:00:00 2001 From: Josh Vera Date: Fri, 10 May 2013 11:18:57 -0700 Subject: [PATCH] [Issue #963] Perform default handling for NSURLAuthenticationMethodDefault authentication challenges Signed-off-by: Mattt Thompson --- AFNetworking/AFURLConnectionOperation.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AFNetworking/AFURLConnectionOperation.m b/AFNetworking/AFURLConnectionOperation.m index f768816..04e9e52 100644 --- a/AFNetworking/AFURLConnectionOperation.m +++ b/AFNetworking/AFURLConnectionOperation.m @@ -630,6 +630,8 @@ willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challe break; } } + } else if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodDefault]) { + [[challenge sender] performDefaultHandlingForAuthenticationChallenge:challenge]; } } #endif