title: Is there a way to capture all NSURLRequests while loading a html-page?
body: <p>To be specific: If I want download a html-page, there are many requests to image, music, js, etc, which I cannot handle by UIWebView delegates.</p>
  
  <p>To be more specific: I'm interested in handling of ajax-requests! I have tried to implement ajax-handler by injecting javascript in every loaded html-page (source: <a href="https://stackoverflow.com/questions/5353278/uiwebviewdelegate-not-monitoring-xmlhttprequest">UIWebViewDelegate not monitoring XMLHttpRequest?</a>), but this is not working (iOS 5.1.1).</p>
  
  <p>I think there are solution by implementing subclass of NSURLProtocol (simple proxy), but I dont know how.</p>
  
  <p>Please help!</p>