Python for CGI w/Apache (httpdapi)
Brand Hunt
brand_hunt at my-deja.com
Wed May 3 22:20:25 EDT 2000
More information about the Python-list mailing list
Wed May 3 22:20:25 EDT 2000
- Previous message (by thread): Python for CGI w/Apache (httpdapi)
- Next message (by thread): COM Sockets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The dictionary returned doesn't contain the keys "DOCUMENT_URI" or "REQUEST_URI". I don't know how to get httpdapi to import these environment variables along with the others. Any ideas? Thanks, Brand In article <ku66svfiw7.fsf at lasipalatsi.fi>, Erno Kuusela <erno at iki.fi> wrote: > > You can httpdapi.RequestHandler.build_cgi_env(), which returns a > dictionary. > > if you want to turn these into real environment variables, you can > just loop over the returned dict and stuff them into the os.environ > dictionary. > > -- erno > Sent via Deja.com http://www.deja.com/ Before you buy.
- Previous message (by thread): Python for CGI w/Apache (httpdapi)
- Next message (by thread): COM Sockets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list