Is it possible to set a cookie on a response that returns a 403/404?
def bad_access():
# Set a cookie
response.cookies['SOME_COOKIE'] = datetime.now()
response.cookies['SOME_COOKIE']['path'] = '/'
# And then throw a 403:
raise HTTP(403,"An error.")This code never succeeds in setting the cookie. --

