mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge branch 'master' of github.com:fog/fog
This commit is contained in:
commit
d5678ee86a
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ module Fog
|
|||
def request(params)
|
||||
params[:headers] ||= {}
|
||||
key = "#{@dnsimple_email}:#{@dnsimple_password}"
|
||||
params[:headers].merge!({ "Authorization" => "Basic " + Base64.encode64(key).chomp,
|
||||
params[:headers].merge!({ "Authorization" => "Basic " + Base64.encode64(key).gsub("\n",''),
|
||||
"Accept" => "application/json",
|
||||
"Content-Type" => "application/json" })
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue