[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_zopepublication.py:1.32

Dmitry Vasiliev dima at hlabs.spb.ru
Mon Apr 5 04:16:04 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/publication/tests
In directory cvs.zope.org:/tmp/cvs-serv19233/src/zope/app/publication/tests

Modified Files:
	test_zopepublication.py 
Log Message:
Update "Content-Type" header with charset definition if necessary.


=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.31 => 1.32 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.31	Sun Mar 21 11:59:45 2004
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py	Mon Apr  5 04:16:03 2004
@@ -279,7 +279,7 @@
             self.object, self.request, sys.exc_info(), retry_allowed=False)
         self.request.response.outputBody()
         self.assertEqual(self.request.response.getHeader('Content-Type'),
-                         'text/html')
+                         'text/html;charset=utf-8')
         self.assertEqual(self.request.response._cookies, {})
 
     def testAbortOrCommitTransaction(self):




More information about the Zope3-Checkins mailing list