title: Fetch returns 302
body: <p>I switched my AJAX request code to...</p>
  
  <pre><code>return fetch("computerssuck?" + qs)
              .then(res =&gt; res.json())
              .then(data =&gt; {
  
                  ...
              })
              .catch(err =&gt; console.log(err));
  </code></pre>
  
  <p>And now it returns 302 and no response.</p>
  
  <p>When I request the same page using the browser or using XMLHttpRequest it works and returns 200 and some JSON.</p>
  
  <p>Why does <code>Fetch</code> not work?</p>
  
  <p>Here is the original code...</p>
  
  <pre><code>xhr.open('get', "computerssuck?" + qs, true);
  
  xhr.onload = function () {
  
      ...
  
  }.bind(this);
  
  xhr.send();
  </code></pre>
  
  <p>Both sets of code work locally on my dev machine.</p>
  
  <p>Chrome says, "Failed to load response data." in the inspector and some JSON parsing code crashes.</p>