[Python-bugs-list] [ python-Bugs-596866 ] cgi module: order of multiple values

noreply@sourceforge.net noreply@sourceforge.net
Sun, 18 Aug 2002 13:31:21 -0700


Bugs item #596866, was opened at 2002-08-18 22:31
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=596866&group_id=5470

Category: Documentation
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Siemer (siemer)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: cgi module: order of multiple values

Initial Comment:
The cgi module documentation is misleading in "Higher
Level Interface"
(http://python.org/doc/current/lib/node296.html).

The order of multiple values for the same name "may
vary from browser to browser and should not be counted
on". This should not be true.

It is instead true that the order is fixed for the mime
types application/x-www-form-urlencoded and
multipart/form-data (probably all types that the cgi
module is handling).

User agents should send these values in the order they
appear in the document as e.g. stated in the latest
HTML 4 recommendation on
http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4

Bye,
	Robert

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=596866&group_id=5470