lib/fog/aws/requests/storage/get_object_torrent.rb in fog-maestrodev-1.8.0.20130114204828 vs lib/fog/aws/requests/storage/get_object_torrent.rb in fog-maestrodev-1.14.0.20130806165225
- old
+ new
@@ -31,13 +31,13 @@
raise ArgumentError.new('object_name is required')
end
request({
:expects => 200,
:headers => {},
- :host => "#{bucket_name}.#{@host}",
+ :bucket_name => bucket_name,
+ :object_name => object_name,
:idempotent => true,
:method => 'GET',
- :path => CGI.escape(object_name),
:query => {'torrent' => nil}
})
end
end