title: How to fix incorrect mime-type (atom-feed) showed in chrome-devtools?
body: <p>I'm not sure if the problem occurs because of wrong PHP-code or maybe a wrong configuration of nginx.</p>
  
  <p>I like to generate a feed in atom-format. The XML of the feed is valid. I do set the content-type via</p>
  
  <pre><code>header("Content-type: application/atom+xml");
  </code></pre>
  
  <p>before I put out the XML. Nonetheless, I get different information from chromium developer-tools.<br /><br />
  The tableview in <em>Network</em> shows me <strong>text/plain</strong> as type:
  <br /><br /></p>
  
  <p><img src="https://i.stack.imgur.com/tRiQo.png" alt="table view looks bad">
  <br /><br />
  However, the header itself seems okay as it states <strong>application/atom+xml</strong>:
  <br /><br />
  <img src="https://i.stack.imgur.com/ngBXZ.png" alt="header details look okay">
  <br /><br />
  This mime-type is correctly set inside nginx-configuration:</p>
  
  <pre><code>types {
          [...]
          application/atom+xml                    atom;
          [...]
  }
  </code></pre>
  
  <p><br /><br />
  What could be missing/wrong that chromium does not recognize the correct mime-type of my feed and states it as text/plain?</p>