aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/cgi/core.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 61b2a498e6..9e4856928f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon May 25 05:32:19 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * lib/cgi/core.rb (CGI::HTTP_STATUS): typo fixed. a patch from
+ Nobuhiro IMAI. [ruby-dev:38538]
+
Sun May 24 22:48:17 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (rb_exec_recursive_paired): new function for proper
diff --git a/lib/cgi/core.rb b/lib/cgi/core.rb
index 4ca0bcf050..02daf14e50 100644
--- a/lib/cgi/core.rb
+++ b/lib/cgi/core.rb
@@ -33,7 +33,7 @@ class CGI
"METHOD_NOT_ALLOWED" => "405 Method Not Allowed",
"NOT_ACCEPTABLE" => "406 Not Acceptable",
"LENGTH_REQUIRED" => "411 Length Required",
- "PRECONDITION_FAILED" => "412 Rrecondition Failed",
+ "PRECONDITION_FAILED" => "412 Precondition Failed",
"SERVER_ERROR" => "500 Internal Server Error",
"NOT_IMPLEMENTED" => "501 Method Not Implemented",
"BAD_GATEWAY" => "502 Bad Gateway",