Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Net::HTTPResponse#value

value

Raises an HTTP error if the response is not 2xx (success).

See also #stream_check #read_body_0 also in 3.4 · 3.3 · 3.2 · 3.1