diff options
author | Badlop <badlop@process-one.net> | 2009-06-16 13:45:12 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-06-16 13:45:12 +0000 |
commit | c4ca19d313fdb52c0e92524b304ad2cc5a12bf6d (patch) | |
tree | 0babf97e09f9180af38685421cd36d35df5dfafc /src/web/mod_http_fileserver.erl | |
parent | Include Last-Modified HTTP header in responses to allow caching (EJAB-546) in... (diff) |
Added JavaScript content type
SVN Revision: 2175
Diffstat (limited to 'src/web/mod_http_fileserver.erl')
-rw-r--r-- | src/web/mod_http_fileserver.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/mod_http_fileserver.erl b/src/web/mod_http_fileserver.erl index 1131030bf..d3c796257 100644 --- a/src/web/mod_http_fileserver.erl +++ b/src/web/mod_http_fileserver.erl @@ -129,6 +129,7 @@ content_type(Filename) -> ".xul" -> "application/vnd.mozilla.xul+xml"; ".jar" -> "application/java-archive"; ".xpi" -> "application/x-xpinstall"; + ".js" -> "application/x-javascript"; _Else -> "application/octet-stream" end. |