aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/http/response.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-08 22:40:14 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-08 22:40:14 +0000
commit0d7a94e31d3d0209c0dc520d55ff946f3e8c8bfc (patch)
tree2f41e8b72f5e3068439d3fae8a6e4cd26a87d42f /lib/net/http/response.rb
parent2fb032b74be9f306fbd2f95d85f8352f4a6027d6 (diff)
downloadruby-0d7a94e31d3d0209c0dc520d55ff946f3e8c8bfc.tar.gz
* lib/net/http/responses.rb: Add RFC 6586 response codes. Patch by
Sangil Jung. [ruby-trunk - Feature #6480] * lib/net/http/response.rb: ditto * lib/net/http.rb: ditto * lib/webrick/httpstatus.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http/response.rb')
-rw-r--r--lib/net/http/response.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/net/http/response.rb b/lib/net/http/response.rb
index 9d37d08a6d..a5c30a87d6 100644
--- a/lib/net/http/response.rb
+++ b/lib/net/http/response.rb
@@ -55,6 +55,9 @@
# 415 HTTPUnsupportedMediaType
# 416 HTTPRequestedRangeNotSatisfiable
# 417 HTTPExpectationFailed
+# 428 HTTPPreconditionRequired
+# 429 HTTPTooManyRequests
+# 431 HTTPRequestHeaderFieldsTooLarge
#
# 5xx HTTPServerError
# 500 HTTPInternalServerError
@@ -63,6 +66,7 @@
# 503 HTTPServiceUnavailable
# 504 HTTPGatewayTimeOut
# 505 HTTPVersionNotSupported
+# 511 HTTPNetworkAuthenticationRequired
#
# xxx HTTPUnknownResponse
#