Showing
2 changed files
with
3 additions
and
3 deletions
| @@ -12,8 +12,8 @@ | @@ -12,8 +12,8 @@ | ||
| 12 | @interface ASIDownloadCache : NSObject <ASICacheDelegate> { | 12 | @interface ASIDownloadCache : NSObject <ASICacheDelegate> { |
| 13 | 13 | ||
| 14 | // The default cache policy for this cache | 14 | // The default cache policy for this cache |
| 15 | - // Requests that store data in the cache will use this cache policy if their cache policy is set to ASIDefaultCachePolicy | 15 | + // Requests that store data in the cache will use this cache policy if their cache policy is set to ASIUseDefaultCachePolicy |
| 16 | - // Defaults to ASIReloadIfDifferentCachePolicy | 16 | + // Defaults to ASIAskServerIfModifiedWhenStaleCachePolicy |
| 17 | ASICachePolicy defaultCachePolicy; | 17 | ASICachePolicy defaultCachePolicy; |
| 18 | 18 | ||
| 19 | // The directory in which cached data will be stored | 19 | // The directory in which cached data will be stored |
| @@ -287,7 +287,7 @@ typedef void (^ASIDataBlock)(NSData *data); | @@ -287,7 +287,7 @@ typedef void (^ASIDataBlock)(NSData *data); | ||
| 287 | // Called on the delegate (if implemented) when the request starts. Default is requestStarted: | 287 | // Called on the delegate (if implemented) when the request starts. Default is requestStarted: |
| 288 | SEL didStartSelector; | 288 | SEL didStartSelector; |
| 289 | 289 | ||
| 290 | - // Called on the delegate (if implemented) when the request receives response headers. Default is requestDidReceiveResponseHeaders: | 290 | + // Called on the delegate (if implemented) when the request receives response headers. Default is request:didReceiveResponseHeaders: |
| 291 | SEL didReceiveResponseHeadersSelector; | 291 | SEL didReceiveResponseHeadersSelector; |
| 292 | 292 | ||
| 293 | // Called on the delegate (if implemented) when the request receives a Location header and shouldRedirect is YES | 293 | // Called on the delegate (if implemented) when the request receives a Location header and shouldRedirect is YES |
-
Please register or login to post a comment