Project

General

Profile

Actions

Bug #447

closed

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

Added by NoKarma (Arthur Schreiber) over 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
Backport:
[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


Files

net_httpheader_iterators.patch (1.48 KB) net_httpheader_iterators.patch NoKarma (Arthur Schreiber), 08/15/2008 09:57 PM
Actions #1

Updated by shyouhei (Shyouhei Urabe) almost 16 years ago

  • Assignee set to aamine (Minero Aoki)

=begin

=end

Actions #2

Updated by marcandre (Marc-Andre Lafortune) over 15 years ago

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

=begin
Applied in changeset r24915.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0