[rhmessaging-commits] rhmessaging commits: r2336 - mgmt/trunk/cumin/python/wooly.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Thu Aug 21 12:36:37 EDT 2008
Author: eallen
Date: 2008-08-21 12:36:37 -0400 (Thu, 21 Aug 2008)
New Revision: 2336
Modified:
mgmt/trunk/cumin/python/wooly/__init__.py
Log:
Use application/xhtml+xml as content type to fix font size problem
Modified: mgmt/trunk/cumin/python/wooly/__init__.py
===================================================================
--- mgmt/trunk/cumin/python/wooly/__init__.py 2008-08-21 16:35:32 UTC (rev 2335)
+++ mgmt/trunk/cumin/python/wooly/__init__.py 2008-08-21 16:36:37 UTC (rev 2336)
@@ -302,7 +302,10 @@
return datetime.utcnow()
def get_content_type(self, session):
- return "text/html"
+ if self.name.endswith(".html"):
+ return "application/xhtml+xml"
+ else:
+ return "text/html"
def get_cache_control(self, session):
return None
More information about the rhmessaging-commits
mailing list