Document AWS_S3_OBJECT_PARAMETERS and mention AWS_HEADERS is boto backend only
@@ -46,7 +46,7 @@ Available are numerous settings. It should be especially noted the following:
``AWS_AUTO_CREATE_BUCKET`` (optional)
If set to ``True`` the bucket specified in ``AWS_STORAGE_BUCKET_NAME`` is automatically created.
-``AWS_HEADERS`` (optional)
+``AWS_HEADERS`` (optional - boto only, for boto3 see ``AWS_S3_OBJECT_PARAMETERS``)
If you'd like to set headers sent with each file of the storage::
# see http://developer.yahoo.com/performance/rules.html#expires
@@ -55,6 +55,13 @@ Available are numerous settings. It should be especially noted the following:
'Cache-Control': 'max-age=86400',
}
+``AWS_S3_OBJECT_PARAMETERS`` (optional - boto3 only)
+ Use this to set arbitrary parameters on your object (such as Cache-Control)::
+
+ AWS_S3_OBJECT_PARAMETERS = {
+ 'Cache-Control': 'max-age=86400',
+ }
+
``AWS_QUERYSTRING_AUTH`` (optional; default is ``True``)
Setting ``AWS_QUERYSTRING_AUTH`` to ``False`` removes `query parameter
authentication`_ from generated URLs. This can be useful if your S3 buckets are
