I am using FastAPI for building an application. I have the place where i set some custom response headers. There is the standard example from FastAPI docs from fastapi import FastAPI, Response app = FastAPI() @app.get(“/headers-and-object/”) def get_headers(response: Response): response.headers[“X-Cat-Dog”] = “alone in the world” return {“message”: “Hello World”} fastapi dev test.py –host 0.0.0.0 –port […]