]> granicus.if.org Git - python/commit
Two changes suggested by Jan Pieter Riegel:
authorGuido van Rossum <guido@python.org>
Wed, 28 Apr 1999 12:21:47 +0000 (12:21 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Apr 1999 12:21:47 +0000 (12:21 +0000)
commit630b811676c24bd3c15df9484c3e73c500fbf746
treecef3ffbc3b06ec43b1c293316a5c499e72dab9e9
parenta8acf72afa2a057cc72b86420e4ee3e17aece142
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.
Lib/CGIHTTPServer.py