1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
wakou 2000-09-12 21:16:09 +00:00
parent ef405dfa04
commit ca94f612b4
3 changed files with 19 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Wed Sep 13 06:09:26 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: bug fix: CGI::header(): output status header.
Tue Sep 12 22:34:20 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* stable version 1.6.0 released.

View file

@ -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.)

View file

@ -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