Merge branch 'master' of github.com:AFNetworking/AFNetworking

This commit is contained in:
Mattt Thompson 2013-07-11 11:26:51 -07:00
Родитель e681d45ee5 81ab861fd3
Коммит 77225e955a
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -105,7 +105,9 @@
}
- (void)testThatImageResponseIsNotNilWhenRequestSucceeds {
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/response-headers?Content-Type=image/png" relativeToURL:self.baseURL]];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"/image" relativeToURL:self.baseURL]];
[request setValue:@"image/png" forHTTPHeaderField:@"Accept"];
AFImageRequestOperation *operation = [[AFImageRequestOperation alloc] initWithRequest:request];
[operation start];