title: Intercepting image load request of the browser
body: <p>I would like to know if there is a way to intercept the image loading requests of a browser and add some request headers expected by the server.</p>
  
  <p>The actual scenario is this. The web app sends an XHR to the server and completes an authentication handshake. All the subsequent requests have to include the auth header. The images are broken because the browser does not send the headers for the image requests.</p>
  
  <p>Thanks in advance.</p>