mirror of
https://github.com/wassname/flask-s3.git
synced 2026-08-03 12:50:16 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user