Bug #447: [PATCH] Net::HTTPHeaders iterator methods should return Enumerators
http://redmine.ruby-lang.org/issues/show/447

Author: Arthur Schreiber
Status: Open, Priority: Normal

Net::HTTPHeader#canonical_each, Net::HTTPHeader#each_capitalized_name,
Net::HTTPHeader#each_capitalized, Net::HTTPHeader#each_header,
Net::HTTPHeader#each and Net::HTTPHeader#each_value should return Enumerable::Enumerator
instances instead of raising a LocalJumpError when being called without a block.

The attached patch adds this functionality.


----------------------------------------
http://redmine.ruby-lang.org