rnapier/RNCachingURLProtocol — pull request #9 by hborders (2012-07-06 20:21:38+00:00)
Title: BUG X-RNCache header written to cache for redirects.

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.