Add support for Cache-Control header in Preflight (OPTIONS) responses
Currently, the CORS configuration enables the management of the `Access-Control-Max-Age` header via the `max_age` property.
Similarly, it would be useful to be able to set a value for the `Cache-Control` header for preflight responses within the CORS block.
I tried using the headers configuration to manually insert the header.
However, this approach does not seem to work for OPTIONS requests.
关闭于 2026-05-13 2 条评论