[Zope] show all http headers
Mark McEahern
mark@mceahern.com
Thu, 15 Aug 2002 13:24:50 -0500
What's the equivalent in Zope to the following VBScript/ASP snippet:
For Each x in Request.ServerVariables
Response.Write "<p>" & x & " = " & Request.ServerVariables(x)
Next
For what it's worth, my reason for asking--aside from general debugging
knowledge--is because I want to see whether my:
squid --> apache --> zope
setup is passing along an X-Forwarded-For http header. For now, Apache is
recording the internal IP address of the squid proxy in the weblogs, which
is pretty useless.
// m
-