Merge branch 'uiimage-accept-header' of git://github.com/smokinguns/AFNetworking into smokinguns-uiimage-accept-header
This commit is contained in:
commit
7df67b1124
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ static char kAFImageRequestOperationObjectKey;
|
|||
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:30.0];
|
||||
[request setHTTPShouldHandleCookies:NO];
|
||||
[request setHTTPShouldUsePipelining:YES];
|
||||
|
||||
[request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
|
||||
[self setImageWithURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue