You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been a while, but if anyone else comes across this issue I also had success using FLASKS3_FILEPATH_HEADERS to force the right content type in S3. E.g.:
Minor defect in documentation:
The example for FLASKS3_FILEPATH_HEADERS encloses the header list in quotes and makes it a string when it should be a dictionary as seen in the comment above.
I used create_all to upload all static to S3, but browser show me message as above and css is not interpreted.
Looks like some content-type needs to be set
http://blog.viktorkelemen.com/2012/05/amazon-s3-and-resource-interpreted-as.html
The text was updated successfully, but these errors were encountered: