You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hallelujah Thank you for reporting. You have suggested using body_encoding: false by default. Do you see any negative side effects of setting response.body_encoding = true ? I assume lack of response.body_encoding = true is a bug, but perhaps there are cases where it can be desired to have response.body_encoding = false ?
Hello, I would like to make a feature request
It would be great if we could use
response.body_encoding = true
below this line following https://bugs.ruby-lang.org/issues/2567#note-39webmock/lib/webmock/response.rb
Line 128 in 833291d
Test case (using rspec in my project) that fails:
Test fails with:
Suggestion
Adding options to
response_for(io, body_encoding: false)
false
by defaultThe text was updated successfully, but these errors were encountered: