Skip to content

Commit

Permalink
Added two new HTTP Status Codes 421, and 451. (#1435)
Browse files Browse the repository at this point in the history
Ran the generator to update the list of HTTP Codes.
  • Loading branch information
juliancheal authored and nateberkopec committed Oct 11, 2017
1 parent 47eaf00 commit 5fa3b45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/puma/const.rb
Expand Up @@ -54,13 +54,15 @@ class UnsupportedOption < RuntimeError
416 => 'Range Not Satisfiable',
417 => 'Expectation Failed',
418 => 'I\'m A Teapot',
421 => 'Misdirected Request',
422 => 'Unprocessable Entity',
423 => 'Locked',
424 => 'Failed Dependency',
426 => 'Upgrade Required',
428 => 'Precondition Required',
429 => 'Too Many Requests',
431 => 'Request Header Fields Too Large',
451 => 'Unavailable For Legal Reasons',
500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
Expand Down

0 comments on commit 5fa3b45

Please sign in to comment.