MARMOTTA-566: Added 'Link' and 'Location' to the CORS-exposedHeaders in the 
web.xml

MARMOTTA-473: also updated archetype


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/baf458a8
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/baf458a8
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/baf458a8

Branch: refs/heads/master
Commit: baf458a821cafa3b65daba393a3f4dd6aa8de405
Parents: e12a8cc
Author: Jakob Frank <[email protected]>
Authored: Tue Nov 11 09:03:06 2014 +0100
Committer: Jakob Frank <[email protected]>
Committed: Tue Nov 11 15:13:22 2014 +0100

----------------------------------------------------------------------
 .../archetype-resources/src/main/webapp/WEB-INF/web.xml          | 4 ++++
 launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml        | 4 ++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/baf458a8/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git 
a/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
 
b/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
index d148e93..0977c87 100644
--- 
a/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
+++ 
b/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
@@ -70,6 +70,10 @@
             <param-name>cors.supportedMethods</param-name>
             <param-value>GET, HEAD, POST, PUT, PATCH, DELETE, 
OPTIONS</param-value>
         </init-param>
+        <init-param>
+            <param-name>cors.exposedHeaders</param-name>
+            <param-value>Location, Link</param-value>
+        </init-param>
     </filter>
     <filter-mapping>
         <filter-name>CORS</filter-name>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/baf458a8/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml 
b/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml
index dda81db..9b36bfb 100644
--- a/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml
+++ b/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml
@@ -70,6 +70,10 @@
             <param-name>cors.supportedMethods</param-name>
             <param-value>GET, HEAD, POST, PUT, PATCH, DELETE, 
OPTIONS</param-value>
         </init-param>
+        <init-param>
+            <param-name>cors.exposedHeaders</param-name>
+            <param-value>Location, Link</param-value>
+        </init-param>
 
     </filter>
     <filter-mapping>

Reply via email to