mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
[fix GH-1167] Patch by @MuhammetDilmac https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8f8f92b508
commit
27f00a7a22
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Wed Dec 30 20:45:45 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
|
||||||
|
[fix GH-1167] Patch by @MuhammetDilmac
|
||||||
|
https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00
|
||||||
|
|
||||||
Wed Dec 30 20:25:52 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
Wed Dec 30 20:25:52 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
* doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
|
* doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
|
||||||
|
|
|
@ -99,6 +99,7 @@ module WEBrick
|
||||||
428 => 'Precondition Required',
|
428 => 'Precondition Required',
|
||||||
429 => 'Too Many Requests',
|
429 => 'Too Many Requests',
|
||||||
431 => 'Request Header Fields Too Large',
|
431 => 'Request Header Fields Too Large',
|
||||||
|
451 => 'Unavailable For Legal Reasons',
|
||||||
500 => 'Internal Server Error',
|
500 => 'Internal Server Error',
|
||||||
501 => 'Not Implemented',
|
501 => 'Not Implemented',
|
||||||
502 => 'Bad Gateway',
|
502 => 'Bad Gateway',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue