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

Extend known HTTP default status messages by RFC's #4419

Merged
merged 1 commit into from
May 18, 2017

Conversation

akzhan
Copy link
Contributor

@akzhan akzhan commented May 16, 2017

RFC 2518, RFC 5842, RFC 2324 etc.

Heavily inspired by CPAN HTTP::Status module.

when 428 then "Precondition Required"
when 429 then "Too Many Requests"
when 431 then "Request Header Fields Too Large"
when 449 then "Retry with" # unofficial Microsoft
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retry with -> Retry With

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it looks more consistently. Force updated.

…2324 etc.

Heavily inpsired by CPAN HTTP::Status module.
@akzhan akzhan force-pushed the extend-http-status-codes branch from bff5a2c to 6a7f90b Compare May 16, 2017 18:42
@ysbaddaden
Copy link
Contributor

Looks good to me.

@bcardiff bcardiff added this to the Next milestone May 18, 2017
@bcardiff bcardiff merged commit 3364f3b into crystal-lang:master May 18, 2017
@bcardiff
Copy link
Member

Thanks @akzhan !

@akzhan akzhan deleted the extend-http-status-codes branch May 18, 2017 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants