lib/restclient/request.rb in rest-client-maestro-1.7.4.maestro vs lib/restclient/request.rb in rest-client-maestro-1.7.5.maestro
- old
+ new
@@ -230,10 +230,10 @@
net.start do |http|
if payload
if payload.is_a?(RestClient::Payload::Streamed)
req.body_stream = payload
else
- req.body = payload # or payload.to_s if we want to keep it equiv to current
+ req.body = payload.to_s
end
end
if @block_response
http.request(req, & @block_response)