Project

General

Profile

Actions

Bug #731

closed

Net::HTTPHeader []= method does not work as expected

Added by taral (Taral x) over 16 years ago. Updated about 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-core:19751]

Description

=begin
irb(main):001:0> require 'net/http'
=> true
irb(main):002:0> x = Net::HTTP::Get.new('/')
=> #<Net::HTTP::Get GET>
irb(main):003:0> x['abc']='def'
=> ["def"]

The []= method in HTTPHeader needs to have a "return val" at the end.
=end

Actions #1

Updated by matz (Yukihiro Matsumoto) over 16 years ago

  • Status changed from Open to Feedback

=begin
Which version are you using? I cannot reproduce the problem.
=end

Actions #2

Updated by matz (Yukihiro Matsumoto) over 16 years ago

  • Status changed from Feedback to Closed

=begin
we cannot reproduce the problem on the latest.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0