diff options
author | wakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-12 21:16:09 +0000 |
---|---|---|
committer | wakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-12 21:16:09 +0000 |
commit | ca94f612b4c01b90a8ae89ff40793b847370a7c2 (patch) | |
tree | 64a97421e742eafbc86dbcb89e54d1f77eaad0d6 /lib/cgi.rb | |
parent | ef405dfa04ec496620f88861a31206939bf1f5b2 (diff) | |
download | ruby-ca94f612b4c01b90a8ae89ff40793b847370a7c2.tar.gz |
wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r-- | lib/cgi.rb | 13 |
1 files changed, 11 insertions, 2 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.) |