Skip to content

Commit

Permalink
the status 451 did not become a standard
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 21, 2014
1 parent f88586e commit c2e7c6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/Mojo/Message/Response.pm
Expand Up @@ -56,7 +56,6 @@ my %MESSAGES = (
428 => 'Precondition Required', # RFC 6585
429 => 'Too Many Requests', # RFC 6585
431 => 'Request Header Fields Too Large', # RFC 6585
451 => 'Unavailable For Legal Reasons', # Draft
500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
Expand Down
2 changes: 0 additions & 2 deletions t/mojo/response.t
Expand Up @@ -64,8 +64,6 @@ is $res->code(428)->default_message, 'Precondition Required', 'right message';
is $res->code(429)->default_message, 'Too Many Requests', 'right message';
is $res->code(431)->default_message, 'Request Header Fields Too Large',
'right message';
is $res->code(451)->default_message, 'Unavailable For Legal Reasons',
'right message';
is $res->code(500)->default_message, 'Internal Server Error', 'right message';
is $res->code(501)->default_message, 'Not Implemented', 'right message';
is $res->code(502)->default_message, 'Bad Gateway', 'right message';
Expand Down

0 comments on commit c2e7c6f

Please sign in to comment.