oops. There seems to be a bug introduced some time ago. I fixed it in trunk, Please check it.
On Aug 5, 9:44 am, Niphlod <niph...@gmail.com> wrote: > uhm, I am obviously missing something.... > > def test(): > response.headers['custom'] = 'miao' > response.status = 404 > return 'hello' > > GEThttp://127.0.0.1:8000/ciao/default/test > > Status: 200 OK > Body: hello > > Set-Cookie: session_id_ciao=127-0-0-1-c8d0e6d1- > fa92-4cfe-9720-9cf4dc3cddc2; Path=/ > Expires: Thu, 05 Aug 2010 14:39:23 GMT > custom: miao > Pragma: no-cache > Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre- > check=0 > Content-Type: text/html; charset=utf-8 > Date: Thu, 05 Aug 2010 14:39:23 GMT > Server: Rocket 1.0.6 Python/2.6.1 > Content-Length: 5 > Connection: keep-alive