Getting all client http headers

Joonas Paalasmaa joonas.paalasmaa at nokia.com
Tue Jun 19 04:32:04 EDT 2001


Michael Ströder wrote:
> 
> Joonas Paalasmaa wrote:
> >
> > How can I get all client http headers in python.
> > Can I use cgi-module?
> 
> Assuming that you implement a simple CGI-BIN program you have to
> stick to the CGI-BIN environment vars which contain some of the HTTP
> header information (usually prefix HTTP_).

Do you mean os.environ?
Does it contain ALL headers?



More information about the Python-list mailing list