codegram/rack-webconsole

200 Okay is not the proper response for error responses

Closed this issue · 4 comments

I'm currently working on a patch to to allow 400 Bad Request responses to errors. This will allow for easier styling of errors. If anyone can suggest a more appropriate code, I'm open to suggestions. Wikipedia a handy list: https://secure.wikimedia.org/wikipedia/en/wiki/List_of_HTTP_status_codes.

Commit e3c801b (above) introduced a bug in the JavaScript. I'm fixing this now.

txus commented

That's nice! Could you try to rebase it against current master and make a pull request?

txus commented

Any chance this might turn into a pull request? We'd merge it right away, thanks! :)

txus commented

Closing this until a PR is provided. Feel free to reopen when that happens.