diff --git a/lib/fog/vcloud_director/compute.rb b/lib/fog/vcloud_director/compute.rb index 38e54ae4d..4b94639fa 100644 --- a/lib/fog/vcloud_director/compute.rb +++ b/lib/fog/vcloud_director/compute.rb @@ -206,7 +206,7 @@ module Fog :parser => Fog::ToHashDocument.new, :path => "/api/sessions" # curl http://example.com/api/versions | grep LoginUrl }) - response.headers['Set-Cookie'] + response.headers['Set-Cookie'] || response.headers['set-cookie'] end