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