Bug #731: Net::HTTPHeader []= method does not work as expected
http://redmine.ruby-lang.org/issues/show/731

Author: Taral x
Status: Open, Priority: Normal

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.


----------------------------------------
http://redmine.ruby-lang.org