Project

General

Profile

Bug #7650 » generic_request.patch

hsbt (Hiroshi SHIBATA), 01/03/2013 05:01 PM

View differences:

lib/net/http/generic_request.rb
#
def exec(sock, ver, path) #:nodoc: internal use only
self['host'] = "#{@uri.host}:#{@uri.port}" if @uri
self['host'] = @uri.host if @uri
if @body
send_request_with_body sock, ver, path, @body
(1-1/2)