Closed dqueffeulouatw closed 13 years ago
I think there is a bug in this code (AFCacheableItem) :
// parse "Pragma" header if (pragmaHeader) { // check if Pragma: no-cache is set (for compatibilty with HTTP/1.0 clients NSRange range = [cacheControlHeader rangeOfString: @"no-cache"]; pragmaNoCacheSet = (range.location != NSNotFound); }
It should be :
NSRange range = [pragmaHeader rangeOfString: @"no-cache"];
great, thanks!
fixed and pushed.
I think there is a bug in this code (AFCacheableItem) :
It should be :