mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[terremark] add content-type to get_organizations
This commit is contained in:
parent
1ca42cb659
commit
5981bee1c8
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ module Fog
|
||||||
request({
|
request({
|
||||||
:expects => 200,
|
:expects => 200,
|
||||||
:headers => {
|
:headers => {
|
||||||
'Authorization' => "Basic #{Base64.encode64("#{@terremark_username}:#{@terremark_password}").chomp!}"
|
'Authorization' => "Basic #{Base64.encode64("#{@terremark_username}:#{@terremark_password}").chomp!}",
|
||||||
|
'Content-Type' => "application/vnd.vmware.vcloud.orgList+xml"
|
||||||
},
|
},
|
||||||
:method => 'POST',
|
:method => 'POST',
|
||||||
:parser => Fog::Parsers::Terremark::GetOrganizations.new,
|
:parser => Fog::Parsers::Terremark::GetOrganizations.new,
|
||||||
|
|
Loading…
Add table
Reference in a new issue