[Zope-Checkins] CVS: Zope2 - DTMLMethod.py:1.58.4.3
evan@serenade.digicool.com
evan@serenade.digicool.com
Thu, 24 May 2001 15:43:07 -0400
Update of /cvs-repository/Zope2/lib/python/OFS
In directory serenade:/home/evan/Zope/pt/lib/python/OFS
Modified Files:
Tag: zope-2_3-branch
DTMLMethod.py
Log Message:
Strip decapitated header values.
--- Updated File DTMLMethod.py in package Zope2 --
--- DTMLMethod.py 2001/01/29 16:17:44 1.58.4.2
+++ DTMLMethod.py 2001/05/24 19:43:06 1.58.4.3
@@ -414,7 +414,7 @@
if RESPONSE is not None:
for header in headers:
hkey = header.pop(0)
- RESPONSE.setHeader(hkey, join(header, ' '))
+ RESPONSE.setHeader(hkey, strip(join(header, ' ')))
return html[spos + 1:]
default_dm_html="""<dtml-var standard_html_header>