You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by jc...@apache.org on 2009/02/04 23:38:08 UTC

svn commit: r740925 - /couchdb/trunk/share/server/main.js

Author: jchris
Date: Wed Feb  4 22:38:07 2009
New Revision: 740925

URL: http://svn.apache.org/viewvc?rev=740925&view=rev
Log:
create a separate mime registration for xhtml

Modified:
    couchdb/trunk/share/server/main.js

Modified: couchdb/trunk/share/server/main.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/main.js?rev=740925&r1=740924&r2=740925&view=diff
==============================================================================
--- couchdb/trunk/share/server/main.js [utf-8] (original)
+++ couchdb/trunk/share/server/main.js [utf-8] Wed Feb  4 22:38:07 2009
@@ -185,7 +185,8 @@
 
 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");