mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Delete invalid connection keys before request is made
This commit is contained in:
parent
71086736fd
commit
836bbcab73
1 changed files with 4 additions and 2 deletions
|
@ -155,8 +155,10 @@ module Fog
|
|||
signature = Base64.encode64( digest ).chomp()
|
||||
params[:headers]["x-emc-signature"] = signature
|
||||
|
||||
parse = params[:parse]
|
||||
|
||||
params.delete(:host) #invalid excon request parameter
|
||||
|
||||
parse = params.delete(:parse)
|
||||
|
||||
begin
|
||||
response = @connection.request(params, &block)
|
||||
rescue Excon::Errors::HTTPStatusError => error
|
||||
|
|
Loading…
Add table
Reference in a new issue