aws-cf-templates
aws-cf-templates copied to clipboard
Content-Type of templates not set on S3 bucket
See https://github.com/widdix/aws-cf-templates-cli/issues/1 for more information
How about adding a text/plain mapping for the yaml extension to .mime.types in the home directory of the user performing the s3 sync command? text/plain is the lowest denominator...
Can you share the resource that .mime.types
files are considered? I can not find this anywhere in the python source code https://github.com/python/cpython/blob/master/Lib/mimetypes.py
Hmm i found it in /etc/mimetypes
# Users can add their own types if they wish by creating a ".mime.types"
# file in their home directory. Definitions included there will take
# precedence over those listed here.
but it doesn't look like the mimetypes module reads from .mime.types