From b20b754f92e772d83c860374f23dffa2e49d30c3 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Wed, 4 Feb 2009 22:38:07 +0000 Subject: create a separate mime registration for xhtml git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@740925 13f79535-47bb-0310-9956-ffa450edef68 --- share/server/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share') 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"); -- cgit v1.2.3