    def end_headers(self):
        """Add necessary headers for CORS"""
        self.send_header("Access-Control-Allow-Origin", "*")
        self.send_header("Access-Control-Allow-Methods", "POST, OPTIONS")
        self.send_header("Access-Control-Allow-Headers", "Content-Type")
        super().end_headers()
Add necessary headers for CORS
src/bentoml_cli/auth_server.py