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