From: Arthur Schreiber Date: 2008-08-15T21:45:04+09:00 Subject: [ruby-core:18309] [Bug #446] [PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError Bug #446: [PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError http://redmine.ruby-lang.org/issues/show/446 Author: Arthur Schreiber Status: Open, Priority: Normal 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. ---------------------------------------- http://redmine.ruby-lang.org