Merge pull request #291 from steipete/fix-cache-policy
The cache policy set here was from the WRONG enum.
This commit is contained in:
commit
673e70525a
@ -692,7 +692,7 @@ static inline NSString * AFMultipartFormFinalBoundary() {
|
||||
}
|
||||
|
||||
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:fileURL];
|
||||
[request setCachePolicy:NSURLCacheStorageNotAllowed];
|
||||
[request setCachePolicy:NSURLRequestReloadIgnoringLocalCacheData];
|
||||
|
||||
NSURLResponse *response = nil;
|
||||
NSData *data = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:error];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user