[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/publisher/http.py Removed unused attribute '_streaming'

Dmitry Vasiliev dima at hlabs.spb.ru
Wed Jun 9 06:09:44 EDT 2004


Log message for revision 25313:
Removed unused attribute '_streaming'



-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/publisher/http.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/publisher/http.py	2004-06-09 10:07:16 UTC (rev 25312)
+++ Zope3/branches/ZopeX3-3.0/src/zope/publisher/http.py	2004-06-09 10:09:43 UTC (rev 25313)
@@ -561,7 +561,6 @@
         '_cookies',
         '_accumulated_headers', # Headers that can have multiples
         '_wrote_headers',
-        '_streaming',
         '_status',              # The response status (usually an integer)
         '_reason',              # The reason that goes with the status
         '_status_set',          # Boolean: status explicitly set
@@ -584,7 +583,6 @@
         self._cookies = {}
         self._accumulated_headers = []
         self._wrote_headers = False
-        self._streaming = False
         self._status = 599
         self._reason = 'No status set'
         self._status_set = False
@@ -656,7 +654,7 @@
         result = {}
         headers = self._headers
 
-        if (not self._streaming and not ('content-length' in headers)
+        if (not ('content-length' in headers)
             and not ('transfer-encoding' in headers)):
             self._updateContentLength()
 




More information about the Zope3-Checkins mailing list