Skip to content

Commit fd7067d

Browse files
binarycodeioquatix
authored andcommitted
use response.read instead of response.body && response.body.join
1 parent 5073a1c commit fd7067d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/async/http/faraday/adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def call(env)
3333

3434
response = client.send(env[:method], env[:url].request_uri, env[:request_headers], env[:body] || [])
3535

36-
save_response(env, response.status, response.body && response.body.join, response.headers)
36+
save_response(env, response.status, response.read, response.headers)
3737

3838
@app.call env
3939
end

0 commit comments

Comments
 (0)