From: "naruse (Yui NARUSE)" Date: 2013-02-17T21:20:52+09:00 Subject: [ruby-core:52380] [ruby-trunk - Feature #7684][Rejected] Net::HTTPHeader#set_form_data should accept a String Issue #7684 has been updated by naruse (Yui NARUSE). Status changed from Open to Rejected Such backdoor breaks the convention that this method returns a valid application/x-www-form-urlencoded string. You should set it directly to body. ---------------------------------------- Feature #7684: Net::HTTPHeader#set_form_data should accept a String https://bugs.ruby-lang.org/issues/7684#change-36433 Author: postmodern (Hal Brodigan) Status: Rejected Priority: Normal Assignee: naruse (Yui NARUSE) Category: lib Target version: next minor I noticed that Net::HTTPHeader#set_form_data does not accept already encoded form-data, but instead passes an Array/Hash down to URI.encode_www_form. -- http://bugs.ruby-lang.org/