From 722e11e432058c72e5a821411ea7c2cd39bbe3b2 Mon Sep 17 00:00:00 2001 From: Sylvain Emery Date: Thu, 19 Mar 2015 16:39:45 +0100 Subject: [PATCH] Change media types for `.atom` and `.rss` files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modify the configurations so that: * `.atom` files are served with the `application/atom+xml`¹ media type * `.rss` files are served with the `application/rss+xml`² media type - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ https://www.iana.org/assignments/media-types/application/atom+xml ² http://tools.ietf.org/id/draft-nottingham-rss-media-type-00.txt Ref: https://github.com/h5bp/server-configs-apache/pull/50#issuecomment-76552855 https://github.com/h5bp/server-configs-apache/commit/653c461c35a982e757fa94ddd73088f2581a88f9 Close h5bp/server-configs-nginx#90 --- CHANGELOG.md | 4 +++- mime.types | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e634f9..af345a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ ### HEAD - * Minimum nginx version upped from 1.2.1 to current stable, 1.6.0 +* Change media types for `.atom` and `.rss` files + [[#90](https://github.com/h5bp/server-configs-apache/issues/90)]. +* Minimum nginx version upped from 1.2.1 to current stable, 1.6.0. ### 1.0.0 (October 24 2014) diff --git a/mime.types b/mime.types index 7113220..363dc5e 100644 --- a/mime.types +++ b/mime.types @@ -50,7 +50,9 @@ types { video/x-msvideo avi; # Web feeds - application/xml atom rdf rss xml; + application/atom+xml atom; + application/rss+xml rss; + application/xml rdf xml; application/xslt+xml xsl; # Web fonts