Skip to content

Commit

Permalink
[Vcloud] Adding case insensitivity for set-cookie header
Browse files Browse the repository at this point in the history
  • Loading branch information
singhgarima committed Aug 2, 2013
1 parent db5d9f0 commit b7f8db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/vcloud/compute.rb
Expand Up @@ -231,7 +231,7 @@ def default_vdc_href
# header from that call.
def do_login
@login_results = login
@cookie = @login_results.headers['Set-Cookie']
@cookie = @login_results.headers['Set-Cookie'] || @login_results.headers['set-cookie']
end

def ensure_unparsed(uri)
Expand Down

0 comments on commit b7f8db9

Please sign in to comment.