…hed_redirects BUG X-RNCache header written to cache for redirects.
Allow overriding -[RNCachingURLProtocol cachePathForRequest:]
The X-RNCache header is not supposed to be written to the cache for redirects. This way, our system will get a chance to cache the redirected request. Unfortunately, I misunderstood how -[NSMutableURLRequest setAllHTTPHeaderFields:] works. I changed to use -[NSMutableURLRequest setValue:nil forHTTPHeaderField:@"X-RNCache"] instead.
…redirects Fixed leaks and support infinite redirects
I suspected that swapping the request object in init was a no-no, so I thought I'd rework the logic to modify the request before creating the connection instead. That proved to work. I still had to workaround a leak associated with -[NSMutableURLRequest mutableCopy], but that was very easy.
Changed deployment target to ios 5.0.
Tested with cnn.com by first loading over wifi, then turning on airplane mode and restarting the app.
Moved SystemConfiguration.framework into Frameworks group.
Corrected typo in README.
Ignored xcuserdata directories.
"...is download" to "...is downloaded"