Bug #446

[PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError

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

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

Description

=begin
As Hash#fetch, Net::HTTPHeaders#fetch does raise an IndexError when neither a default
value nor a block was passed and the requested key can not be found.

The attached patch updates the documentation for Net::HTTPHeaders#fetch to reflect this.
=end

net_httpheader_fetch_doc.patch Magnifier (697 Bytes) Arthur Schreiber, 08/15/2008 09:47 PM

History

#1 Updated by Shyouhei Urabe about 6 years ago

  • Assignee set to Minero Aoki
  • ruby -v set to -

=begin

=end

#2 Updated by Anonymous over 5 years ago

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

=begin
Applied in changeset r24830.
=end

Also available in: Atom PDF