VCloud 5.5. accept version
@@ -1069,11 +1069,11 @@ class VCloud_5_5_Connection(VCloud_1_5_Connection):
def _get_auth_headers(self):
"""Compatibility for using v5.5 of the API"""
auth_headers = super(VCloud_5_5_Connection, self)._get_auth_headers()
- auth_headers["Accept"] = "application/*+xml;version=5.5"
+ auth_headers["Accept"] = 'application/*;version=32.0'
return auth_headers
def add_default_headers(self, headers):
- headers["Accept"] = "application/*+xml;version=5.5"
+ headers["Accept"] = "application/*;version=32.0"
headers["x-vcloud-authorization"] = self.token
return headers
