Bug 3414 - exposed location header in CORS setings 39/21339/3
authorJan Hajnar <jhajnar@cisco.com>
Thu, 28 May 2015 14:22:36 +0000 (16:22 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 4 Jun 2015 10:36:20 +0000 (10:36 +0000)
Change-Id: I74e5f363cb931b2b8a792447b5d5d2fa6e0aa5aa
Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
(cherry picked from commit c515ff7c42b487ac5baeb6e3361b6457d1c4b096)

opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml

index 120a826..c485b6f 100644 (file)
             <param-name>allowedHeaders</param-name>
             <param-value>origin, content-type, accept, authorization</param-value>
         </init-param>
+        <init-param>
+            <param-name>exposedHeaders</param-name>
+            <param-value>location</param-value>
+        </init-param>
     </filter>
     <filter-mapping>
         <filter-name>cross-origin-restconf</filter-name>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.