def send_request(name, path, data = nil, header = nil)
      r = HTTPGenericRequest.new(name,(data ? true : false),true,path,header)
      request r, data
    end
def send_request(name, path, data = nil, header = nil)
      r = HTTPGenericRequest.new(name,(data ? true : false),true,path,header)
      request r, data
    end
:nodoc: obsolete
 Sends an HTTP request to the HTTP server.
 Also sends a DATA string if +data+ is given.

 Returns a Net::HTTPResponse object.

 This method never raises Net::* exceptions.

    response = http.send_request('GET', '/index.html')
    puts response.body