Project

General

Profile

Bug #447

[PATCH] Net::HTTPHeaders iterator methods should return Enumerators

Added by Arthur Schreiber about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
[ruby-core:18310]

Description

=begin
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.
=end

net_httpheader_iterators.patch View (1.48 KB) Arthur Schreiber, 08/15/2008 09:57 PM

History

#1 Updated by Shyouhei Urabe over 7 years ago

  • Assignee set to Minero Aoki

=begin

=end

#2 Updated by Marc-Andre Lafortune about 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r24915.
=end

Also available in: Atom PDF