diff --git a/AFNetworking/AFHTTPRequestOperation.m b/AFNetworking/AFHTTPRequestOperation.m index 2525cbf..0e5f076 100644 --- a/AFNetworking/AFHTTPRequestOperation.m +++ b/AFNetworking/AFHTTPRequestOperation.m @@ -303,7 +303,7 @@ static void AFSwizzleClassMethodWithClassAndSelectorUsingBlock(Class klass, SEL #pragma mark - NSURLConnectionDelegate - (void)connection:(__unused NSURLConnection *)connection -didReceiveResponse:(__unused NSURLResponse *)response +didReceiveResponse:(NSURLResponse *)response { self.response = (NSHTTPURLResponse *)response;