rnapier/RNCachingURLProtocol — pull request #6 by hborders (2012-06-04 21:56:26+00:00)
Title: Simplified the request state machine, fixed the leak.

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. I'll file a radar about the -[NSMutableURLRequest mutableCopy] leak.