MimeMagic: Recognise .htc as text/x-component
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 16 Feb 2016 17:44:19 +0000 (17:44 +0000)
committerOri.livneh <ori@wikimedia.org>
Thu, 18 Feb 2016 21:19:40 +0000 (21:19 +0000)
Matches behaviour of nginx:
https://github.com/wikimedia/operations-debs-nginx/blob/be600c8b/debian/conf/mime.types#L15
>  text/x-component                      htc;

Without this, wmfstatic fails to serve "csshover.min.htc".

Bug: T99096
Change-Id: I90c546ff5204ddd9ffa99fdaebee78c7856c32ed

includes/mime.types

index 89c8847..73f27e6 100644 (file)
@@ -123,6 +123,7 @@ text/tab-separated-values tsv
 text/vnd.wap.wml wml
 text/vnd.wap.wmlscript wmls
 text/xml xml xsl xslt rss rdf
+text/x-component htc
 text/x-setext etx
 text/x-sawfish jl
 video/mpeg mpeg mpg mpe