End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Net::HTTPResponse.body_permitted?
body_permitted?
lib/net/http/response.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/net/http/response.rb, line 138
def body_permitted?
self::HAS_BODY
end
true if the response has a body.