Cookies
Oleg Broytmann
phd at phd.russ.ru
Thu Jan 13 11:25:11 EST 2000
On Thu, 13 Jan 2000, Anders M Eriksson wrote:
> >> kaka = Cookie.Cookie(os.environ["HTTP_COOKIE"])
>
> Then I get a KeyError: HTTP_COOKIE
>
> Which probably means that the HTTP_COOKIE environment variable doesn't
> exist!?
This should be caught by your try/except! You wrote universal except -
for all exceptions, no?
Oleg.
----
Oleg Broytmann Foundation for Effective Policies phd at phd.russ.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list