Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298122

Add support for the 'yml' file extension in file_default_mimetype_mapping()

$
0
0

If we wanted to create a managed YAML file, currently it is not assigned the proper MIME type mapping. We should add support for the 'yml' extension mapping.

It is interesting to note that there isn't really an accepted MIME type yet for .yml. Some say to use application/yaml. Some say to use text/x-yaml. Since JSON uses application/json, I say we could use application/yaml?

Might have to leave this postponed since yaml isn't even added in http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view... yet.


Viewing all articles
Browse latest Browse all 298122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>