Showing
1 changed file
with
2 additions
and
2 deletions
@@ -241,11 +241,11 @@ | @@ -241,11 +241,11 @@ | ||
241 | { | 241 | { |
242 | [[ASIDownloadCache sharedCache] clearCachedResponsesForStoragePolicy:ASICacheForSessionDurationCacheStoragePolicy]; | 242 | [[ASIDownloadCache sharedCache] clearCachedResponsesForStoragePolicy:ASICacheForSessionDurationCacheStoragePolicy]; |
243 | [[ASIDownloadCache sharedCache] setDefaultCachePolicy:ASIUseDefaultCachePolicy]; | 243 | [[ASIDownloadCache sharedCache] setDefaultCachePolicy:ASIUseDefaultCachePolicy]; |
244 | - ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://asi/ASIHTTPRequest/tests/cache-control-max-age-parsing"]]; | 244 | + ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/cache-control-max-age-parsing"]]; |
245 | [request setDownloadCache:[ASIDownloadCache sharedCache]]; | 245 | [request setDownloadCache:[ASIDownloadCache sharedCache]]; |
246 | [request startSynchronous]; | 246 | [request startSynchronous]; |
247 | 247 | ||
248 | - request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://asi/ASIHTTPRequest/tests/cache-control-max-age-parsing"]]; | 248 | + request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/cache-control-max-age-parsing"]]; |
249 | [request setDownloadCache:[ASIDownloadCache sharedCache]]; | 249 | [request setDownloadCache:[ASIDownloadCache sharedCache]]; |
250 | [request startSynchronous]; | 250 | [request startSynchronous]; |
251 | BOOL success = [request didUseCachedResponse]; | 251 | BOOL success = [request didUseCachedResponse]; |
-
Please register or login to post a comment