MARMOTTA-596: Added some more frequently used Headers to the CORS config (archetype also updated)
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/055e9ece Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/055e9ece Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/055e9ece Branch: refs/heads/MARMOTTA-556 Commit: 055e9ece05ef76a68aefab49dfacc50938454b28 Parents: 7a65511 Author: Jakob Frank <[email protected]> Authored: Tue Feb 17 11:24:16 2015 +0100 Committer: Jakob Frank <[email protected]> Committed: Tue Feb 17 11:24:16 2015 +0100 ---------------------------------------------------------------------- .../resources/archetype-resources/src/main/webapp/WEB-INF/web.xml | 2 +- launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/055e9ece/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 0977c87..581bb74 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 @@ -72,7 +72,7 @@ </init-param> <init-param> <param-name>cors.exposedHeaders</param-name> - <param-value>Location, Link</param-value> + <param-value>Location, Link, ETag, Accept-Post, Accept-Patch</param-value> </init-param> </filter> <filter-mapping> http://git-wip-us.apache.org/repos/asf/marmotta/blob/055e9ece/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 9b36bfb..7f23110 100644 --- a/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml +++ b/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml @@ -72,7 +72,7 @@ </init-param> <init-param> <param-name>cors.exposedHeaders</param-name> - <param-value>Location, Link</param-value> + <param-value>Location, Link, ETag, Accept-Post, Accept-Patch</param-value> </init-param> </filter>
