cgi.py?
Skip Montanaro
skip at pobox.com
Sun May 29 19:05:15 EDT 2005
david> I've looked into cgi.py from 2.4's distribution, and its contents
david> puzzle me. In parse_header, the first line splits on ';':
david> plist = map(lambda x: x.strip(), line.split(';'))
david> but header parameters may contain semicolon in quoted strings:
david> Content-Type: image/jpeg; filename="home:lib;images;face.jpg"
...
david> What am I missing?
Probably nothing. Can you maybe submit a patch?
Thx,
--
Skip Montanaro
skip at pobox.com
More information about the Python-list
mailing list