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

[ninefold|storage] omit signature in stringtosign

better facilitates retries
This commit is contained in:
geemus 2011-11-01 09:34:24 -05:00
parent ffca5a2073
commit 3a1bed2106

View file

@ -107,9 +107,10 @@ module Fog
customheaders = {}
params[:headers].each { |key,value|
if key == "x-emc-date"
case key
when 'x-emc-date', 'x-emc-signature'
#skip
elsif key =~ /^x-emc-/
when /^x-emc-/
customheaders[ key.downcase ] = value
end
}