mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
7a635a7d12
The values of @header are expected to be all strings; WEBrick::HTTPResponse::[]=(key, val) explicitly converts the second argument to a string and assigns it to @header hash. However, there were some points in WEBrick internal code that assigns non-String to @header. This change fixes the issues. The values are checked by `header_value =~ /\r\n/` in check_header. The type confusion caused conflict with removal of `Object#=~` [Feature #15231]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
httpauth | ||
httpservlet | ||
.document | ||
accesslog.rb | ||
cgi.rb | ||
compat.rb | ||
config.rb | ||
cookie.rb | ||
htmlutils.rb | ||
httpauth.rb | ||
httpproxy.rb | ||
httprequest.rb | ||
httpresponse.rb | ||
https.rb | ||
httpserver.rb | ||
httpservlet.rb | ||
httpstatus.rb | ||
httputils.rb | ||
httpversion.rb | ||
log.rb | ||
server.rb | ||
ssl.rb | ||
utils.rb | ||
version.rb | ||
webrick.gemspec |