Prevent caching of responses by NSURLCache (fix #211)
This commit is contained in:
parent
df89ee44cd
commit
8a55d97fc9
|
@ -248,4 +248,11 @@
|
||||||
[self done];
|
[self done];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse
|
||||||
|
{
|
||||||
|
// Prevents caching of responses
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue