[Zope-Checkins] CVS: Zope2 - HTTPResponse.py:1.30.12.1

Andreas Jung andreas@dhcp165.digicool.com
Tue, 24 Apr 2001 08:31:15 -0400


Update of /cvs-repository/Zope2/ZServer
In directory yetix:/work/sandboxes/ajung-2_4-new-medusa/ZServer

Modified Files:
      Tag: ajung-2_4-new-medusa
	HTTPResponse.py 
Log Message:




--- Updated File HTTPResponse.py in package Zope2 --
--- HTTPResponse.py	2001/04/05 23:49:13	1.30
+++ HTTPResponse.py	2001/04/24 12:29:59	1.30.12.1
@@ -89,7 +89,7 @@
 and logging duties.
 
 """
-import time, regex, string, sys, tempfile
+import time, re, string, sys, tempfile
 from cStringIO import StringIO
 import thread
 from ZPublisher.HTTPResponse import HTTPResponse
@@ -123,7 +123,7 @@
     _chunking=0
 
     def __str__(self,
-                html_search=regex.compile('<html>',regex.casefold).search,
+                html_search=re.compile('<html>',re.I).search,
                 ):
         if self._wrote:
             if self._chunking: