projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c152de0
)
libs/http: map *.xsl files to application/xml
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 11 Sep 2009 01:55:10 +0000
(
01:55
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 11 Sep 2009 01:55:10 +0000
(
01:55
+0000)
libs/http/luasrc/http/protocol/mime.lua
patch
|
blob
|
history
diff --git
a/libs/http/luasrc/http/protocol/mime.lua
b/libs/http/luasrc/http/protocol/mime.lua
index 9722dde42a77beaf0d27d47856eb42fe22f518a1..c878160664a982e8c1d812fed383af59e939e1b4 100644
(file)
--- a/
libs/http/luasrc/http/protocol/mime.lua
+++ b/
libs/http/luasrc/http/protocol/mime.lua
@@
-44,6
+44,7
@@
MIME_TYPES = {
["zip"] = "application/zip";
["pdf"] = "application/pdf";
["xml"] = "application/xml";
+ ["xsl"] = "application/xml";
["doc"] = "application/msword";
["ppt"] = "application/vnd.ms-powerpoint";
["xls"] = "application/vnd.ms-excel";