[Zope-dev] REQUEST and values stored there

Morten W. Petersen morten@thingamy.net
Wed, 4 Apr 2001 20:30:29 +0200 (CEST)


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