diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-30 11:53:15 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-30 11:53:15 +0000 |
commit | 04db6ef955298901de800239d719182b481fc709 (patch) | |
tree | 32e1dc3b05129ffb9ac9f3f31c94037d8f8a2d6e /lib/net/http.rb | |
parent | 51a00ea638d1a7bb5cb1ad4fbc9f673b8ce9e2e6 (diff) | |
download | ruby-04db6ef955298901de800239d719182b481fc709.tar.gz |
* lib/net/http/responses.rb: Added new response class for 451 status code.
* lib/net/http.rb: documentation for HTTPUnavailableForLegalReasons
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r-- | lib/net/http.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index bc01b29bff..f77df5efa3 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -370,6 +370,7 @@ module Net #:nodoc: # HTTPPreconditionRequired:: 428 # HTTPTooManyRequests:: 429 # HTTPRequestHeaderFieldsTooLarge:: 431 + # HTTPUnavailableForLegalReasons:: 451 # HTTPServerError:: 5xx # HTTPInternalServerError:: 500 # HTTPNotImplemented:: 501 |