mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
modified to build correct signature
This commit is contained in:
parent
80a22a3d6b
commit
e3e226d565
1 changed files with 2 additions and 1 deletions
|
@ -151,10 +151,11 @@ DATA
|
|||
|
||||
google_headers, canonical_google_headers = {}, ''
|
||||
for key, value in params[:headers]
|
||||
if key[0..5] == 'x-goog-'
|
||||
if key[0..6] == 'x-goog-'
|
||||
google_headers[key] = value
|
||||
end
|
||||
end
|
||||
|
||||
google_headers = google_headers.sort {|x, y| x[0] <=> y[0]}
|
||||
for key, value in google_headers
|
||||
canonical_google_headers << "#{key}:#{value}\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue