title: Accessing response headers on CORS request
body: <p>I'm using the fetch API to make a cross-domain request similar to the below snippet</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>window.fetch('http://data.test.wikibus.org/magazines', { method: 'get'})
        .then(function(response) { 
          var linkHeader = response.headers.get('Link');
          document.querySelector('#link-header').innerText = 'The Link header is: ' + linkHeader;
        });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span id="link-header"&gt;&lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>As you see the Link header (and some other headers too) is not accessible although it is returned in the response. I assume that's a CORS issue, because on local requests all headers are accessible. </p>
  
  <p>Is that by design? Is there a way around that problem?</p>