Fixed standards compliance: text/javascript -> application/javascript
authorshort <>
Sat, 1 Oct 2005 05:22:34 +0000 (05:22 +0000)
committershort <>
Sat, 1 Oct 2005 05:22:34 +0000 (05:22 +0000)
.htaccess

index b125590..26081b8 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -30,6 +30,12 @@ AddType application/x-bzip .bz
 AddType application/x-bzip2 .bz2
 AddType application/zip .zip
 
+# Do not: text/javascript
+# as it does not look as registered, at least according to: MIME::Types $VERSION 1.15
+# "application/javascript" so far standardized till 2005-12-08 by:
+#      http://www.ietf.org/internet-drafts/draft-hoehrmann-script-types-03.txt
+AddType application/javascript .js
+
 <IfModule mod_php.c>
        php_flag short_open_tag off
        php_flag magic_quotes_gpc off