[ruby-cvs:68581] normal:r61402 (trunk): webrick/httputils: note Kernel#open behavior

normal at ruby-lang.org normal at ruby-lang.org
Fri Dec 22 10:08:05 JST 2017

normal	2017-12-22 10:08:05 +0900 (Fri, 22 Dec 2017)

  New Revision: 61402


    webrick/httputils: note Kernel#open behavior
    I don't know who uses the load_mime_types method; but it is
    conceivable that a user would want to read the results of a
    command instead of reading a regular file to load MIME types.
    None of the WEBrick-related code in Ruby or default/bundled gems
    seems to rely on this method; but it is likely 3rd-party code does.
    * lib/webrick/httputils.rb (load_mime_types): note Kernel#open behavior
      [Misc #14216]

  Modified files:

More information about the ruby-cvs mailing list