<B><I>Andreas Jung <lists@zopyx.com></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">--On 21. Februar 2007 11:30:11 +0100 Andreas Jung <LISTS@ZOPYX.COM>wrote:<BR>> --On 21. Februar 2007 02:05:36 -0800 Jostein Leira <JLEIRA@YAHOO.COM><BR>> wrote:<BR>>> header_present = 'HTTP_ACCEPT_CHARSET' in self.request<BR>>> to<BR>>><BR>>> header_present = 'HTTP_ACCEPT_CHARSET' in self.request.keys()<BR>>><BR>><BR>> I assume that the request implementation of Zope 3 and Zope 2 differ a bit<BR>> when it comes to the 'in' operator. If request.keys() works for Zope 3<BR>> request as well I would like to see this fixed in Zope 3.<BR>><BR><BR>After checking the implements and the unittests: I don't see any difference<BR>in the behavior of both statements. They behave identical.<BR><BR>-aj</BLOCKQUOTE> <div>In my Zope 2.10.2 installation the two statements really do
behave different. </div> <div> </div> <div>-Jost<BR></div><p> 
<hr size=1>Looking for earth-friendly autos? <br> <a href="http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI-">Browse Top Cars by "Green Rating"</a> at Yahoo! Autos' Green Center.