Friday, May 18, 2012

Amazon S3 and 'Resource interpreted as Stylesheet but transferred with MIME type binary/octet-stream'

If you use Amazon S3 to serve your static CSS you may end up with this error message 'Resource interpreted as Stylesheet but transferred with MIME type binary/octet-stream'
  1. You have to log in into Amazon S3 console
  2. Navigate to the file in question
  3. Open Properties and click to the Metadata
  4. You can see a Content-Type field with the value binary/octet-stream, change it to text/css
Something like this

4 comments:

  1. Thanks for this! Had no idea why my stylesheets had stopped being read!

    ReplyDelete
  2. Or maybe there are numerous shrouded pearls accessible out there as books composed by people that have encountered generous success on these sites and other online aides. Ecom Income Blueprint

    ReplyDelete
  3. Awesome post presented by you..your writing style is fabulous and keep update with your blogs
    AWS Online Training

    ReplyDelete