BaseHTTPServer weirdness
Damjan
gdamjan at gmail.com
Mon Sep 11 20:02:39 EDT 2006
>> But basically, you aren't providing a CGI environment, and that's why
>> cgi.parse() isn't working.
>
> Clearly. So what should I be doing?
Probably you'll need to read the source of cgi.parse_qs (like Steve did) and
see what it needs from os.environ and then provide that (either in
os.environ or in a custom environ dictionary).
BUT why don't you use WSGI?
--
damjan
More information about the Python-list
mailing list