# File tests/common.rb, line 110 def post_url(uri, params={}, opts={}) header 'Accept', accept(opts[:format] || :xml) if DeltacloudTestCommon::recording? VCR.use_cassette("post-" + Digest::SHA1.hexdigest("#{uri}-#{params}")) do post(uri, params || {}, authenticate(opts)) end else post(uri, params || {}, authenticate(opts)) end end