From 2b2317907e3f4933e1eccbb80a8c9476520bdd54 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 7537815..267d04d 100644 --- a/AFNetworking/AFHTTPRequestOperation.m +++ b/AFNetworking/AFHTTPRequestOperation.m @@ -283,7 +283,7 @@ NSString * AFCreateIncompleteDownloadDirectoryPath(void) { } + (BOOL)canProcessRequest:(NSURLRequest *)request { - if (![[self class] isEqual:[AFHTTPRequestOperation class]]) { + if ([[self class] isEqual:[AFHTTPRequestOperation class]]) { return YES; }