lib/net/amazon/s3.rb
def request_delete(path, headers = {})
      http = Net::HTTP.new(REST_ENDPOINT, @options[:ssl] ? 443 : 80)

      http.use_ssl     = @options[:ssl]
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      
      http.start do |http|
        req = sign_request(Net::HTTP::Delete.new(path), nil, headers)
        return http.request(req)
      end
    end
# Sends a properly-signed DELETE request to the specified S3 path and
# returns a Net::HTTPResponse object.
Sends a properly-signed DELETE request to the specified S3 path and
returns a Net::HTTPResponse object.
Sends a properly - signed DELETE request to the specified S3 path and returns a Net :: HTTPResponse object .
def request_delete(path, headers = {})
      http = Net::HTTP.new(REST_ENDPOINT, @options[:ssl] ? 443 : 80)
      http.use_ssl     = @options[:ssl]
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      http.start do |http|
        req = sign_request(Net::HTTP::Delete.new(path), nil, headers)
        return http.request(req)
      end
    end
def request_delete ( path , headers = { } ) http = Net :: HTTP . new ( REST_ENDPOINT , @options [ :ssl ] ? 443 : 80 ) http . use_ssl = @options [ :ssl ] http . verify_mode = OpenSSL :: SSL :: VERIFY_NONE http . start do | http | req = sign_request ( Net :: HTTP :: Delete . new ( path ) , nil , headers ) return http . request ( req ) end end
Sends a properly-signed DELETE request to the specified S3 path and
returns a Net::HTTPResponse object.
Sends a properly - signed DELETE request to the specified S3 path and returns a Net :: HTTPResponse object .
path
headers