...
|
...
|
@@ -107,7 +107,6 @@ NSString *const kCompletedCallbackKey = @"completed"; |
|
|
{
|
|
|
// In order to prevent from potential duplicate caching (NSURLCache + SDImageCache) we disable the cache for image requests
|
|
|
NSMutableURLRequest *request = [NSMutableURLRequest.alloc initWithURL:url cachePolicy:NSURLCacheStorageNotAllowed timeoutInterval:15];
|
|
|
NSMutableURLRequest *request = [NSMutableURLRequest.alloc initWithURL:url cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:15];
|
|
|
request.HTTPShouldHandleCookies = NO;
|
|
|
request.HTTPShouldUsePipelining = YES;
|
|
|
[request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
|
...
|
...
|
|