def METHOD_NAME(self, resp):
    headers = resp.headers
    headers.add_header("Access-Control-Expose-Headers", self.config["X_HEADERS"])
    headers.add_header("Access-Control-Allow-Origin", self.config["X_DOMAINS"])
    return super(DciControlServer, self).METHOD_NAME(resp)