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:
parent
89219a00c2
commit
7d1230c008
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue