Prevent caching of responses by NSURLCache (fix #211)

This commit is contained in:
Olivier Poitrey 2012-11-05 19:57:15 +01:00
parent df89ee44cd
commit 8a55d97fc9
1 changed files with 7 additions and 0 deletions

View File

@ -248,4 +248,11 @@
[self done];
}
- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse
{
// Prevents caching of responses
return nil;
}
@end