method
send_request_with_body
send_request_with_body(sock, ver, path, body)
private
Hide source
# File lib/net/http.rb, line 1535 def send_request_with_body(sock, ver, path, body) self.content_length = body.length delete 'Transfer-Encoding' supply_default_content_type write_header sock, ver, path sock.write body end