title: How to inspect HTTP requests made by WebViews
body: <p>As you know, a lot of request (images, scripts, AJAX, etc.) are send when loading a single page. So I need to get all those request and inspect them.</p>
  
  <p>So the question would be: How can I inspect the HTTP requests that are made when a <a href="http://developer.android.com/reference/android/webkit/WebView.html" rel="noreferrer">WebView</a> loads a page ?</p>
  
  <p>I want: headers, method, status code, response, cookies.</p>
  
  <hr>
  
  <p>Right now, I have:</p>
  
  <pre><code> public  void onLoadResource(WebView view, String url){
      Log.d("my-tag", "onLoadResource = "  + url );
  }
  </code></pre>
  
  <p>But that only shows me the URL.</p>