cgi.py -- anybody using it?

Brian Quinlan brian at sweetapp.com
Fri Apr 4 19:24:00 EST 2003


> I just tried testing some HTML form upload code using cgi.py, and
> discovered that it wants lower-case HTTP headers :-/
> 
> This is broken (unless I missed something in RFC 2616).  So, does
anybody
> actually use this module?

This does seem broken. File a bug report:
http://sourceforge.net/tracker/?group_id=5470&atid=105470

> I'm in two minds about the 'batteries included' principle, but I
suppose
> there is no obvious best trade-off point between convenience and the
> problems of maintainability, obsolescence, etc...

Probably this feature is rarely used and most user agents use lowercase
headers.

Cheers,
Brian






More information about the Python-list mailing list