[Zope-dev] REQUEST and values stored there

Chris McDonough chrism@digicool.com
Wed, 4 Apr 2001 14:44:48 -0400


Wha?  What are 'key_name1' and 'key_name2' in reality?

----- Original Message ----- 
From: "Morten W. Petersen" <morten@thingamy.net>
To: "Chris McDonough" <chrism@digicool.com>
Cc: <zope-dev@zope.org>
Sent: Wednesday, April 04, 2001 2:30 PM
Subject: Re: [Zope-dev] REQUEST and values stored there


> On Wed, 4 Apr 2001, Chris McDonough wrote:
> 
> > What breaks?  There was no intention to break code or change the API.
> 
> Code that looked like this:
> 
> REQUEST['key_name1']
> REQUEST['key_name2']
> 
> Now has to be changed to this:
> 
> REQUEST.form['key_name1']
> REQUEST.form['key_name2']
> 
> (The former method raises a KeyError.)
> 
> These problems started to appear in the 2.3.x tree.
> 
> -Morten
> 
>