End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Net::HTTPGenericRequest#flush_buffer
flush_buffer(out, buf, chunked_p)
lib/net/http/generic_request.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/net/http/generic_request.rb, line 293
def flush_buffer(out, buf, chunked_p)
return unless buf
out << "%x\r\n"%buf.bytesize if chunked_p
out << buf
out << "\r\n" if chunked_p
buf.clear
end
No documentation available
See also
#encode_multipart_form_data
#inspect
#body_stream=
#quote_string
also in
3.4 · 3.3 · 3.2 · 3.1