title: IE wants to download my JSON response; other browsers work as expected
body: <p>My searching leads me to believe this is an issue with the headers being set for the response. This application is built using the Zend framework, and here are the headers being set (this response contains information about a file upload):</p>
  
  <pre><code>$response
      -&gt;setHeader('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT')
      -&gt;setHeader('Cache-Control', 'private, no-cache')
      -&gt;setHeader('Pragma', 'no-cache')
      -&gt;setHeader('Content-Disposition', 'inline; filename="files.json"')
      -&gt;setHeader('X-Content-Type-Options', 'nosniff')
      -&gt;setHeader('Content-type', 'application/json; charset=UTF-8');
  </code></pre>
  
  <p>This is the contents of the "files.json":
      {"webpath":"http://www.domain.com/avatar/38b/3ef/f8b/a4c62a71.jpg","file_id":"484","height":250,"width":250}</p>
  
  <p>Edit: I'm having this issue in all versions of IE, including IE9. I have also attempted to use 'text/plain' for the Content-type, with no avail. Also fixed the typo on the word "private".</p>