diff options
author | wakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-02 14:19:51 +0000 |
---|---|---|
committer | wakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-02 14:19:51 +0000 |
commit | e5ae0debe331794f3e9c7d598f4d2a786a18bbf3 (patch) | |
tree | 3eb23f927ec875c3061d7f301a8a325f379a2f5a | |
parent | d8fdb2bfdef4ba112e0c3b301c256d1abbeb17de (diff) | |
download | ruby-e5ae0debe331794f3e9c7d598f4d2a786a18bbf3.tar.gz |
* lib/cgi.rb (CGI#header): accept any type as value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/cgi.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jul 2 14:13:11 2002 Wakou Aoyama <wakou@ruby-lang.org> + + * lib/cgi.rb (CGI#header): accept any type as value. + Sun Jun 30 17:05:29 2002 WATANABE Hirofumi <eban@ruby-lang.org> * configure.in (seekdir, telldir): add ac_cv_func_telldir=yes, diff --git a/lib/cgi.rb b/lib/cgi.rb index 836fdf2a4d..620e8aa699 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -486,7 +486,7 @@ status: end options.each{|key, value| - buf += key + ": " + value + EOL + buf += key + ": " + value.to_s + EOL } if defined?(MOD_RUBY) |