End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Net::HTTPGenericRequest#body_stream=
body_stream=(input)
lib/net/http/generic_request.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/net/http/generic_request.rb, line 103
def body_stream=(input)
@body = nil
@body_stream = input
@body_data = nil
input
end
No documentation available
See also
#body_exist?
#encode_multipart_form_data
#body=
#flush_buffer
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0