couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r740925 - /couchdb/trunk/share/server/main.js
Date Wed, 04 Feb 2009 22:38:08 GMT
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");



Mime
View raw message