Added a S3_FORCE_MIMETYPE config flag to always add the content-type header to s3 files.

Added corresponding documentation for the flag.
This commit is contained in:
bool.dev
2015-11-19 15:49:55 +05:30
parent 6f13e3e89c
commit a9b8e4b425
2 changed files with 16 additions and 10 deletions
+2
View File
@@ -232,6 +232,8 @@ uploading assets to S3.
`S3_GZIP` Compress all assets using GZIP and set the
corresponding Content-Type and Content-Encoding
headers on the S3 files.
`S3_FORCE_MIMETYPE` Always set the Content-Type header on the S3 files
irrespective of gzipping. Defaults to `False`.
=========================== ===================================================
.. _debug: http://flask.pocoo.org/docs/config/#configuration-basics