title: How to refresh a page with javascript and set request header?
body: <p>Problem:</p>
  
  <p>I need to send a request from javascript to the server, containing a set header, that will reload the entire browser window on response.</p>
  
  <p>jQuery ajax it seems does not fully load the browser window and can only re-target the document.</p>
  
  <p>Essentially I'd like to do a window.location.reload(true) whilst also setting a request header.</p>