Bug #447

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

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

[ruby-core:18310]
Status:Closed
Priority:Normal
Assignee:Minero Aoki
ruby -v: Backport:

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 over 6 years ago

  • Assignee set to Minero Aoki

=begin

=end

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