expressjs/generator — pull request #12 by gmelika (2014-03-20 05:58:24+00:00)
Title: pass any existing http status code through, otherwise default to 500 (in...

...ternal server error)

Without this change I find that it always returns 200 on both code generated errors (bad csrf token for example) or even 404 page errors.