title: How to save all binary web browser traffic
body: <p>I'm using Firebug and NetExport on Linux to save all web browser communication (mostly HTTP and HTTPS requests and responses). However, in my <code>.har</code> file I see messages like this:</p>
  
  <pre><code>The resource from this URL is not text: http://...
  </code></pre>
  
  <p>Instead of these messages I want to see the actual, full binary content (not even a single bit transformed or changed or lost). How do I get that?</p>
  
  <p>I have root access on the local machine. A solution using Chrome or Firefox is fine.</p>
  
  <p>Please don't recommend that I download binary files manually, there are too many of them, and I need to time the downloads perfectly, with the correct set of cookies (which may expire by the time I download manually). Please don't recommend non-Linux solutions, I have access only to Linux systems. Please don't recommend Wireshark (or tcpdump), because it can't save decrypted HTTPS traffic if I don't have the private key of the server.</p>