[Zope3-checkins] SVN: Zope3/trunk/src/zope/publisher/http.py
Removed unused attribute '_streaming'
Dmitry Vasiliev
dima at hlabs.spb.ru
Wed Jun 9 06:02:08 EDT 2004
Log message for revision 25309:
Removed unused attribute '_streaming'
-=-
Modified: Zope3/trunk/src/zope/publisher/http.py
===================================================================
--- Zope3/trunk/src/zope/publisher/http.py 2004-06-09 03:07:56 UTC (rev 25308)
+++ Zope3/trunk/src/zope/publisher/http.py 2004-06-09 10:02:07 UTC (rev 25309)
@@ -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