[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server - HTTPResponse.py:1.1.2.8

Tres Seaver tseaver@zope.com
Mon, 26 Nov 2001 15:18:19 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Server
In directory cvs.zope.org:/tmp/cvs-serv11458/lib/python/Zope/Server

Modified Files:
      Tag: Zope-3x-branch
	HTTPResponse.py 
Log Message:
 - Fix typo.

=== Zope3/lib/python/Zope/Server/HTTPResponse.py 1.1.2.7 => 1.1.2.8 ===
     # using streaming response
     _streaming=0
+
     # using chunking transfer-encoding
     _chunking=0
 
     def __str__(self,
                 html_search=re.compile('<html>',re.I).search,
                 ):
-        if self._wrote:
+        if self._wrote_headers:
             if self._chunking:
                 return '0\r\n\r\n'
             else: