# File lib/restclient/payload.rb, line 141 def build_stream(params = nil) @stream = StringIO.new(flatten_params(params).collect do |entry| "#{entry[0]}=#{handle_key(entry[1])}" end.join("&")) @stream.seek(0) end
for UrlEncoded escape the keys
# File lib/restclient/payload.rb, line 149 def handle_key key URI.escape(key.to_s, Regexp.new("[^#{URI::PATTERN::UNRESERVED}]")) end
Generated with the Darkfish Rdoc Generator 2.