diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-17 16:57:44 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-17 16:57:44 +0000 |
commit | 96bd1643a073c83b17e0e62229e7bdc1a6ba6390 (patch) | |
tree | 2b8d31e212094ea1be42850c27704cc8deeb2ac4 /lib/webrick/httprequest.rb | |
parent | 6fb00e8a1ff95de610143e7076209c58c19f5f59 (diff) | |
download | ruby-96bd1643a073c83b17e0e62229e7bdc1a6ba6390.tar.gz |
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#initialize):
initial value of accpet-* should be array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/httprequest.rb')
-rw-r--r-- | lib/webrick/httprequest.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/webrick/httprequest.rb b/lib/webrick/httprequest.rb index 576a750869..f87883c310 100644 --- a/lib/webrick/httprequest.rb +++ b/lib/webrick/httprequest.rb @@ -58,8 +58,10 @@ module WEBrick @raw_header = Array.new @header = nil @cookies = [] - @accept = @accept_charset = - @accept_encoding = @accept_language = nil + @accept = [] + @accept_charset = [] + @accept_encoding = [] + @accept_language = [] @body = "" @addr = @peeraddr = nil |