Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 422 Unprocessable Entity status code #151

Merged
merged 1 commit into from Oct 31, 2011

Conversation

paulbellamy
Copy link
Contributor

No description provided.

@ghost
Copy link

ghost commented Oct 31, 2011

Would it make sense to use Rack's list of status codes? It seems to be far more complete than EM-HTTP's and also already includes 422. This would require promoting Rack to a runtime dependency, though.

@igrigorik
Copy link
Owner

@igierth: do you have a link? would be nice to avoid extra deps, but if it makes sense from code reuse point of view..

igrigorik added a commit that referenced this pull request Oct 31, 2011
Adding 422 Unprocessable Entity status code
@igrigorik igrigorik merged commit 39d20a5 into igrigorik:master Oct 31, 2011
@ghost
Copy link

ghost commented Oct 31, 2011

https://github.com/rack/rack/blob/master/lib/rack/utils.rb#L418-475

Maybe using the same script to generate the list would be a better idea than reusing Rack's list.

@igrigorik
Copy link
Owner

updated the list in em-http.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants