From 4cf0199712d9dbf10d6a419875d128aa8b183e37 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Tue, 27 Mar 2012 12:11:46 -0700 Subject: [PATCH] Reverting AFDownloadRequestOperation to be a subclass of AFHTTPRequestOperation --- AFNetworking/AFDownloadRequestOperation.h | 6 ++---- AFNetworking/AFDownloadRequestOperation.m | 10 ---------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/AFNetworking/AFDownloadRequestOperation.h b/AFNetworking/AFDownloadRequestOperation.h index 512cc1b..a059518 100644 --- a/AFNetworking/AFDownloadRequestOperation.h +++ b/AFNetworking/AFDownloadRequestOperation.h @@ -22,12 +22,10 @@ #import "AFHTTPRequestOperation.h" -#define kAFNetworkingIncompleteDownloadFolderName @"Incomplete" - /** - `AFDownloadRequestOperation` is a subclass of `AFHTTPRequestOperation` for streamed file downloading. Supports Content-Range. (http://tools.ietf.org/html/rfc2616#section-14.16) + */ -@interface AFDownloadRequestOperation : AFURLConnectionOperation { +@interface AFDownloadRequestOperation : AFHTTPRequestOperation { @private NSString *_responsePath; NSError *_downloadError; diff --git a/AFNetworking/AFDownloadRequestOperation.m b/AFNetworking/AFDownloadRequestOperation.m index bd5f0df..9e3888c 100644 --- a/AFNetworking/AFDownloadRequestOperation.m +++ b/AFNetworking/AFDownloadRequestOperation.m @@ -55,9 +55,6 @@ #pragma mark - -/** - - */ - (void)setDestination:(NSString *)path allowOverwrite:(BOOL)allowOverwrite { [self willChangeValueForKey:@"isReady"]; self.destination = path; @@ -80,17 +77,10 @@ } } - #pragma mark - -///** -// -// */ //- (void)setDecideDestinationWithSuggestedFilenameBlock:(void (^)(NSString *filename))block; // -///** -// -// */ //- (void)setShouldDecodeSourceDataOfMimeTypeBlock:(BOOL (^)(NSString *encodingType))block; @end