8 Apr
2003
8 Apr
'03
9:31 a.m.
On Tuesday, April 8, 2003, at 12:07 AM, Matt Ficken wrote:
No, I actually need access to the headers the client sent. I've looked through parts of the Zope source and can't find a method that will do what I want. Is there an existing method to access the client's headers?
Dunno if this helps, but here's how you can list all the headers in ZPT: <table border="1" tal:define="hdrkeys python:request.keys()"> <tr tal:repeat="kk hdrkeys"> <td tal:content="kk">key</td> <td tal:content="python:request.values()[repeat['kk'].index]">val</td> </tr> </table> ___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://opentech.leafe.com