Project

General

Profile

« Previous | Next » 

Revision e83922a3

Added by nobu (Nobuyoshi Nakada) about 9 years ago

net/http/header.rb: refactor

  • lib/net/http/header.rb (connection_close?): match headers
    without making intermediate arrays.

  • lib/net/http/header.rb (connection_keep_alive?): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e