method

send_request_with_body

send_request_with_body(sock, ver, path, body)
private

No documentation available.

# File lib/net/http.rb, line 1543
    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