summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-12 21:16:09 +0000
committerwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-12 21:16:09 +0000
commitca94f612b4c01b90a8ae89ff40793b847370a7c2 (patch)
tree64a97421e742eafbc86dbcb89e54d1f77eaad0d6 /lib
parentef405dfa04ec496620f88861a31206939bf1f5b2 (diff)
wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/cgi.rb13
-rw-r--r--lib/net/telnet.rb5
2 files changed, 15 insertions, 3 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index 1b5dc7d5b0..6bd8a7f038 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -4,7 +4,7 @@
cgi.rb - cgi support library
-Version 2.0.0
+Version 2.0.1
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
@@ -436,8 +436,12 @@ status:
options["connection"] = "close"
end
+ options.delete("status")
+ end
+
+ if options.has_key?("status")
+ buf.concat("Status: " + options.delete("status") + EOL)
end
- options.delete("status")
if options.has_key?("server")
buf.concat("Server: " + options.delete("server") + EOL)
@@ -1920,6 +1924,11 @@ end
== HISTORY
+* Wed Sep 13 06:09:26 JST 2000 - wakou
+ * version 2.0.1
+ * bug fix: CGI::header(): output status header.
+ thanks to Yasuhiro Fukuma <yasuf@bsdclub.org>
+
* Tue Sep 12 06:56:51 JST 2000 - wakou
* version 2.0.0
* require ruby1.5.4 or later. (ruby1.4 doesn't have block_given? method.)
diff --git a/lib/net/telnet.rb b/lib/net/telnet.rb
index 44bb223ddf..8ff1884e7a 100644
--- a/lib/net/telnet.rb
+++ b/lib/net/telnet.rb
@@ -599,6 +599,9 @@ end
== HISTORY
+* 2000/09/12 05:37:35 - matz
+ * change: iterator? --> block_given?
+
* Tue Sep 12 06:52:48 JST 2000 - wakou
* version 1.6.0
* correct: document.
@@ -706,7 +709,7 @@ end
* 1999/04/11 - wakou
* version 0.163
- * STDOUT.write(message) --> yield(message) if block_given?
+ * STDOUT.write(message) --> yield(message) if iterator?
* 1999/03/17 - wakou
* version 0.162