diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-02-04 22:38:07 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-02-04 22:38:07 +0000 |
commit | b20b754f92e772d83c860374f23dffa2e49d30c3 (patch) | |
tree | 82e4797f52bfa3f9d499e0ab1a127bc7d7c59aaf /share/server/main.js | |
parent | 3d8e464600a3f995b6966fb4704eeb406f5811a9 (diff) |
create a separate mime registration for xhtml
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@740925 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/server/main.js')
-rw-r--r-- | share/server/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/server/main.js b/share/server/main.js index 53ccc012..2bbf1638 100644 --- a/share/server/main.js +++ b/share/server/main.js @@ -185,7 +185,8 @@ registerType = function() { registerType("all", "*/*"); registerType("text", "text/plain", "txt"); -registerType("html", "text/html", "application/xhtml+xml", "xhtml"); +registerType("html", "text/html"); +registerType("xhtml", "application/xhtml+xml", "xhtml"); registerType("xml", "application/xml", "text/xml", "application/x-xml"); // http://www.ietf.org/rfc/rfc4627.txt registerType("json", "application/json", "text/x-json"); |