Is there an existing issue for this?
Current Behavior
When using the CORS handler with an AllowedOriginValidator, the Vary header is not set to Origin.
Expected Behavior
The header (Vary: Origin) should always be set when a validator function is present because the middleware cannot predict the outcome of the function and whether it might change for different input.
Is there an existing issue for this?
Current Behavior
When using the CORS handler with an
AllowedOriginValidator, theVaryheader is not set toOrigin.Expected Behavior
The header (
Vary: Origin) should always be set when a validator function is present because the middleware cannot predict the outcome of the function and whether it might change for different input.