1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Rackspace Storage's head_object method uses the HEAD HTTP method, not GET

This commit is contained in:
Nathan Sutton 2011-03-29 15:58:32 -05:00
parent 89219a00c2
commit 7d1230c008

View file

@ -12,7 +12,7 @@ module Fog
def head_object(container, object)
response = request({
:expects => 200,
:method => 'GET',
:method => 'HEAD',
:path => "#{URI.escape(container)}/#{URI.escape(object)}"
}, false)
response