Authored by Olivier Poitrey

Prevent caching of responses by NSURLCache (fix #211)

@@ -248,4 +248,11 @@ @@ -248,4 +248,11 @@
248 [self done]; 248 [self done];
249 } 249 }
250 250
  251 +- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse
  252 +{
  253 + // Prevents caching of responses
  254 + return nil;
  255 +}
  256 +
  257 +
251 @end 258 @end