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.
Showing
Please
register
or
sign in
to comment