diff options
Diffstat (limited to 'lib/webrick')
-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 |