You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
When using the CORS handler with an
AllowedOriginValidator
, theVary
header 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.The text was updated successfully, but these errors were encountered: