Reverting AFDownloadRequestOperation to be a subclass of AFHTTPRequestOperation
This commit is contained in:
parent
2a1d81a792
commit
4cf0199712
2 changed files with 2 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue