{"action":"closed","issue":{"number":2,"created_at":"2011-10-06T23:42:27Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I love this gem and it works great!  I have a feature request though (or maybe it's an actual bug, depending on how you see it).\r\n\r\nWhenever an error gets sent to the ErrorResponseController, it returns the correct error page, but it doesn't return the correct status.  Whether it's a 404, 500, or some other error, the status code always seems to be 200.  For the purpose of alerting bots and browsers that something went wrong, the proper status code should probably be returned.\r\n\r\nI haven't figured out a way to do this yet, or I would have submitted a patch.  I would suggest changing the render call in the ErrorResponseController, but I'm not sure how to detect the current status and pass that along.  (We used to explicitly call `render :partial => \"blah\", :status => 404` but without a hard-coded status, I'm not sure how to return the correct status depending on the nature of the error.)","comments":2,"title":"Return proper status codes","updated_at":"2011-10-07T19:55:36Z","url":"https://api.github.com/repos/Sharagoz/rails_exception_handler/issues/2","id":1839123,"assignee":null,"milestone":null,"closed_at":"2011-10-07T19:55:36Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/dbef9c42cf9bc9619d9176a6a79feaed?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jobster","id":374098,"login":"jobster"},"html_url":"https://github.com/Sharagoz/rails_exception_handler/issues/2","labels":[],"state":"closed"},"legacy":{"number":2,"action":"closed","issue":1839123}}