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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue