Getting all client http headers

Michael Ströder michael at stroeder.com
Tue Jun 19 04:31:50 EDT 2001


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_).

Ciao, Michael.



More information about the Python-list mailing list