Project

General

Profile

Bug #447

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

Added by Arthur Schreiber over 7 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
ruby -v:
Backport:
2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
[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 Magnifier (1.48 KB) Arthur Schreiber, 08/15/2008 09:57 PM

History

#1 Updated by Shyouhei Urabe about 7 years ago

  • Assignee set to Minero Aoki

=begin

=end

#2 Updated by Marc-Andre Lafortune over 6 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