[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/wsgi/__init__.py
fixed a bug in getHeaders
Eckart Hertzler
eckart at hertzler.de
Wed Nov 10 10:52:35 EST 2004
Log message for revision 28417:
fixed a bug in getHeaders
Changed:
U Zope3/trunk/src/zope/app/wsgi/__init__.py
-=-
Modified: Zope3/trunk/src/zope/app/wsgi/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/wsgi/__init__.py 2004-11-10 11:08:17 UTC (rev 28416)
+++ Zope3/trunk/src/zope/app/wsgi/__init__.py 2004-11-10 15:52:35 UTC (rev 28417)
@@ -78,7 +78,7 @@
to the WSGI spec
"""
response_headers = self._headers.items()
- accum = [ tuple(line.split(':')) for line in self._accumulatedHeaders]
+ accum = [ tuple(line.split(':',1)) for line in self._accumulatedHeaders]
response_headers.extend(accum)
return response_headers
More information about the Zope3-Checkins
mailing list