[Python-checkins] CVS: python/dist/src/Lib CGIHTTPServer.py

Guido van Rossum guido@cnri.reston.va.us
Wed, 28 Apr 1999 08:21:48 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
	CGIHTTPServer.py 
Log Message:
Two changes suggested by Jan Pieter Riegel:

(1) Fix reference to pwd.error to be KeyError -- there is no pwd.error
and pwd.getpwnam() raises KeyError on failure.

(2) Add cookie support, by placing the 'Cookie:' header, if present,
in the HTTP_COOKIE environment variable.