lib/ezclient/request.rb in ezclient-0.15.2 vs lib/ezclient/request.rb in ezclient-0.15.3
- old
+ new
@@ -46,10 +46,9 @@
ApiAuth.sign!(http_request, *args)
self
end
def body
- http_request.body.source.rewind if http_request.body.source.respond_to?(:rewind)
body = +""
http_request.body.each { |chunk| body << chunk }
body
end