title: Do I need Content-Type: application/octet-stream for file download?
body: <p>The <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html">HTTP standard</a> says:</p>
  
  <blockquote>
    <p>If this header [Content-Disposition: attachment] is used in a response
    with the application/octet-stream content-type, the implied
    suggestion is that the user agent should not display the response, but
    directly enter a `save response as...' dialog.</p>
  </blockquote>
  
  <p>I read that as</p>
  
  <pre><code>Content-Type: application/octet-stream
  Content-Disposition: attachment
  </code></pre>
  
  <p>But I would have thought that <code>Content-Type</code> would be <code>application/pdf</code>, <code>image/png</code>, etc.</p>
  
  <p>Should I have <code>Content-Type: application/octet-stream</code> if I want browsers to download the file?</p>