[ruby-cvs:70072] normal:r62957 (trunk): webrick: quiet warning for multi-part ranges

normal at ruby-lang.org normal at ruby-lang.org
Wed Mar 28 17:06:08 JST 2018


normal	2018-03-28 17:06:08 +0900 (Wed, 28 Mar 2018)

  New Revision: 62957

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62957

  Log:
    webrick: quiet warning for multi-part ranges
    
    Content-Length is ignored by WEBrick::HTTPResponse even if we
    calculate it, so instead we chunk responses to HTTP/1.1 clients
    and terminate HTTP/1.0 connections.
    
    * lib/webrick/httpservlet/filehandler.rb (make_partial_content):
      quiet warning

  Modified files:
    trunk/lib/webrick/httpservlet/filehandler.rb


More information about the ruby-cvs mailing list