'Compatibility for using v1.5 API under vCloud Director 5.1'

def _get_auth_headers(self):

    return {'Authorization': ('Basic    %s' % base64.b64encode(b(('%s:%s' % (self.user_id, self.key)))).decode('utf-8')), 'Content-Length': '0', 'Accept': 'application/*+xml;version=1.5'}
