summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2023-12-16 10:27:52 +0900
committernagachika <nagachika@ruby-lang.org>2023-12-16 10:48:39 +0900
commit0869dc58d601022f31065aa064b1cda02f53a7de (patch)
tree5d99048af59979b530350dd9eb9834bd23a25ef3
parentf48a9bbb16fb369d614208a60a4b81ea024a67d1 (diff)
merge revision(s) 9cc0ac22f7c9f37aa7fadfe5606ce2feed260d2d:
Update lib/net/http/status.rb --- lib/net/http/status.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
-rw-r--r--lib/net/http/status.rb9
-rw-r--r--version.h2
2 files changed, 6 insertions, 5 deletions
diff --git a/lib/net/http/status.rb b/lib/net/http/status.rb
index 9673005871..e70b47d9fb 100644
--- a/lib/net/http/status.rb
+++ b/lib/net/http/status.rb
@@ -16,7 +16,7 @@ if $0 == __FILE__
next if ['(Unused)', 'Unassigned', 'Description'].include?(mes)
puts " #{code} => '#{mes}',"
end
- puts "}"
+ puts "} # :nodoc:"
end
Net::HTTP::STATUS_CODES = {
@@ -55,15 +55,16 @@ Net::HTTP::STATUS_CODES = {
410 => 'Gone',
411 => 'Length Required',
412 => 'Precondition Failed',
- 413 => 'Payload Too Large',
+ 413 => 'Content Too Large',
414 => 'URI Too Long',
415 => 'Unsupported Media Type',
416 => 'Range Not Satisfiable',
417 => 'Expectation Failed',
421 => 'Misdirected Request',
- 422 => 'Unprocessable Entity',
+ 422 => 'Unprocessable Content',
423 => 'Locked',
424 => 'Failed Dependency',
+ 425 => 'Too Early',
426 => 'Upgrade Required',
428 => 'Precondition Required',
429 => 'Too Many Requests',
@@ -78,6 +79,6 @@ Net::HTTP::STATUS_CODES = {
506 => 'Variant Also Negotiates',
507 => 'Insufficient Storage',
508 => 'Loop Detected',
- 510 => 'Not Extended',
+ 510 => 'Not Extended (OBSOLETED)',
511 => 'Network Authentication Required',
} # :nodoc:
diff --git a/version.h b/version.h
index 18b24b1a0a..4ed4774319 100644
--- a/version.h
+++ b/version.h
@@ -11,7 +11,7 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 2
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 140
+#define RUBY_PATCHLEVEL 141
#include "ruby/version.h"
#include "ruby/internal/abi.h"