Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Add exposed.headers configuration for CorsFilter #1338

Open
RodrigoQuesadaDev opened this issue Jun 10, 2017 · 0 comments
Open

Add exposed.headers configuration for CorsFilter #1338

RodrigoQuesadaDev opened this issue Jun 10, 2017 · 0 comments

Comments

@RodrigoQuesadaDev
Copy link

Hi, I'm currently using Spring Boot and I would like to request for a way to configure the Access-Control-Expose-Headers value set when responding to CORS requests. This is required, for example, to be able to access custom response headers coming from CORS responses.

The new configuration path could be like this (following the convention you use here):
stormpath.web.cors.exposed.headers

Then you just need to set the exposed headers on this class:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant