mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
6fb00e8a1f
commit
96bd1643a0
2 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue