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.


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


<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/ 391)

reads: h=self.header[name]

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


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to