From 7fda89e4a2a409fd178ed19c248a6aaabbf0d428 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Thu, 28 Jun 2012 15:51:27 -0700 Subject: [PATCH] [Issue #379] Fixing AFHTTPRequestOperation +canProcessRequest: --- AFNetworking/AFHTTPRequestOperation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFNetworking/AFHTTPRequestOperation.m b/AFNetworking/AFHTTPRequestOperation.m index bc9b2b7..0e8e909 100644 --- a/AFNetworking/AFHTTPRequestOperation.m +++ b/AFNetworking/AFHTTPRequestOperation.m @@ -291,7 +291,7 @@ static id AFStaticClassValueImplementation(id self, SEL _cmd) { } + (BOOL)canProcessRequest:(NSURLRequest *)request { - if (![[self class] isEqual:[AFHTTPRequestOperation class]]) { + if ([[self class] isEqual:[AFHTTPRequestOperation class]]) { return YES; }