code: def cors_configuration(self):
          
          endpoint = '/'.join((
              self.server_url, '_api', 'v2', 'user', 'config', 'cors'))
          resp = self.r_session.get(endpoint)
          resp.raise_for_status()
  
          return response_to_json_dict(resp)
docs: Retrieves the current CORS configuration.
  
          :returns: CORS data in JSON format