Skip to content

Set Vary: Origin on CORS unauthorized response [SPR-16224] #20772

@spring-projects-issues

Description

@spring-projects-issues

Adrian Cole opened SPR-16224 and commented

Maybe our Cors impl should be setting Vary when we deny, due to some
noted cache poison concerns.

Ex we don't set Vary: Origin on 403, but other impls do...

https://github.com/rs/cors/blob/master/cors_test.go#L118


Issue Links:

Referenced from: commits 4a87d3d

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions