diff options
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.) |