Please open a bug report. On Wednesday, 8 August 2012 22:46:07 UTC-5, Yarin wrote: > > 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. >
--

