We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ba4ac commit b23f710Copy full SHA for b23f710
lib/faraday/logging/formatter.rb
@@ -63,7 +63,7 @@ def dump_headers(headers)
63
64
def dump_body(body)
65
if body.respond_to?(:to_str)
66
- body.to_str.encode(Encoding::UTF_8, undef: :replace, invalid: :replace)
+ body.to_str.encode(::Encoding::UTF_8, undef: :replace, invalid: :replace)
67
else
68
pretty_inspect(body)
69
end
0 commit comments