Reverting AFDownloadRequestOperation to be a subclass of AFHTTPRequestOperation

This commit is contained in:
Mattt Thompson 2012-03-27 12:11:46 -07:00
parent 2a1d81a792
commit 4cf0199712
2 changed files with 2 additions and 14 deletions

View file

@ -22,12 +22,10 @@
#import "AFHTTPRequestOperation.h" #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 @private
NSString *_responsePath; NSString *_responsePath;
NSError *_downloadError; NSError *_downloadError;

View file

@ -55,9 +55,6 @@
#pragma mark - #pragma mark -
/**
*/
- (void)setDestination:(NSString *)path allowOverwrite:(BOOL)allowOverwrite { - (void)setDestination:(NSString *)path allowOverwrite:(BOOL)allowOverwrite {
[self willChangeValueForKey:@"isReady"]; [self willChangeValueForKey:@"isReady"];
self.destination = path; self.destination = path;
@ -80,17 +77,10 @@
} }
} }
#pragma mark - #pragma mark -
///**
//
// */
//- (void)setDecideDestinationWithSuggestedFilenameBlock:(void (^)(NSString *filename))block; //- (void)setDecideDestinationWithSuggestedFilenameBlock:(void (^)(NSString *filename))block;
// //
///**
//
// */
//- (void)setShouldDecodeSourceDataOfMimeTypeBlock:(BOOL (^)(NSString *encodingType))block; //- (void)setShouldDecodeSourceDataOfMimeTypeBlock:(BOOL (^)(NSString *encodingType))block;
@end @end