Fix fucked-up merge
This commit is contained in:
parent
8a55d97fc9
commit
d85d5833af
|
@ -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
|
// 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:NSURLCacheStorageNotAllowed timeoutInterval:15];
|
||||||
NSMutableURLRequest *request = [NSMutableURLRequest.alloc initWithURL:url cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:15];
|
|
||||||
request.HTTPShouldHandleCookies = NO;
|
request.HTTPShouldHandleCookies = NO;
|
||||||
request.HTTPShouldUsePipelining = YES;
|
request.HTTPShouldUsePipelining = YES;
|
||||||
[request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
|
[request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
|
||||||
|
|
Loading…
Reference in New Issue