title: Add content-type for specific file types in Amazon CloudFront?
body: <p>I have an S3-bucket, that I'm serving using CloudFront. And I want to serve some JSON-files from it.</p>
  
  <p>Out of the box, the CF response doesn't contain any <code>Content-Type</code> headers at all for this file type. The file is just downloaded by the browser as any regular file. However, I want it to have a proper mime type header: <code>Content-Type: application/json</code>.</p>
  
  <p>I know, I can set custom header for any single file manually in S3, however, is it possible to specify some rule for specific filename extensions to add specific HTTP headers to the response in Amazon CloudFront?</p>