First off, the on-line documentation description of this method is 'Append
a value to a cookie'.

Second, it breaks if you are in fact adding a second value to a header
that already exists.

Either:

<dtml-call "RESPONSE.setHeader('x-i-made-this','1013')">
<dtml-call "RESPONSE.appendHeader('x-i-made-this','1121')">

or:

<dtml-call "RESPONSE.appendHeader('x-i-made-this','1013')">
<dtml-call "RESPONSE.appendHeader('x-i-made-this','1121')">

causes an error because of what looks like a typo.

/lib/python/ZPublisher/HTTPResponse.py(line 391)

reads: h=self.header[name]

but should be: h=self.headers[name]

Chris



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to