lib/async/http/protocol/http1/client.rb in async-http-0.52.0 vs lib/async/http/protocol/http1/client.rb in async-http-0.52.1
- old
+ new
@@ -67,10 +67,10 @@
end
end
elsif protocol = request.protocol
write_upgrade_body(protocol)
else
- write_empty_body(request.body)
+ write_body(@version, body, false, trailers)
end
return Response.read(self, request)
rescue
# This will ensure that #reusable? returns false.