Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default FastAPI only replies with CORS headers when an origin is sent. This means that the response should be sent with Vary: Origin, but it isn't. If this header were added it would reduce cachability. When we always send the headers this means that the response can be cached regardless of origin, and CORS are always present.
- Loading branch information