mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Removed comment.
This commit is contained in:
parent
ec47a70503
commit
0a9fc31f5e
2 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ module Fog
|
|||
#
|
||||
def head_object(container, object)
|
||||
response = request({
|
||||
:expects => 200, # should be 204
|
||||
:expects => 200,
|
||||
:method => 'HEAD',
|
||||
:path => "#{Fog::HP.escape(container)}/#{Fog::HP.escape(object)}"
|
||||
}, false)
|
||||
|
@ -25,7 +25,7 @@ module Fog
|
|||
def head_object(container_name, object_name, options = {})
|
||||
response = get_object(container_name, object_name, options)
|
||||
response.body = nil
|
||||
response.status = 200 # should be 204
|
||||
response.status = 200
|
||||
response
|
||||
end
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ module Fog
|
|||
path = uri.path
|
||||
|
||||
response = shared_request({
|
||||
:expects => 200, # should be 204
|
||||
:expects => 200,
|
||||
:method => 'HEAD',
|
||||
:path => path
|
||||
}, false)
|
||||
|
@ -28,7 +28,7 @@ module Fog
|
|||
def head_shared_object(shared_object_url)
|
||||
response = get_shared_object(shared_object_url)
|
||||
response.body = nil
|
||||
response.status = 200 # should be 204
|
||||
response.status = 200
|
||||
response
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue