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:
parent
ffca5a2073
commit
3a1bed2106
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue