method
begin_transport
begin_transport(req)
private
Hide source
# File lib/net/http.rb, line 1334 def begin_transport(req) connect if @socket.closed? if not req.response_body_permitted? and @close_on_empty_response req['connection'] ||= 'close' end req['host'] ||= addr_port() end