[forge-issues] [JBoss JIRA] (FORGE-2676) NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location"
Sebastien Blanc (JIRA)
issues at jboss.org
Tue Aug 30 10:55:00 EDT 2016
Sebastien Blanc created FORGE-2676:
--------------------------------------
Summary: NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location"
Key: FORGE-2676
URL: https://issues.jboss.org/browse/FORGE-2676
Project: Forge
Issue Type: Feature Request
Components: Java EE
Affects Versions: 3.3.0.Final
Reporter: Sebastien Blanc
NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location" by default or it should be possible to add it when calling the CORS command.
This is how I worked around it in the NewCrossOriginResourceSharingFilter.java filer :
{code:java}
response.getHeaders()
.putSingle("Access-Control-Expose-Headers",
"Location");
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the forge-issues
mailing list