add content-type header to cors config
Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/a498744d Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/a498744d Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/a498744d Branch: refs/heads/develop Commit: a498744d8dbc12ea5b21efab3b8da81e3ae3eeef Parents: 86b0f94 Author: tkurz <[email protected]> Authored: Fri Apr 12 10:49:39 2013 +0200 Committer: tkurz <[email protected]> Committed: Fri Apr 12 10:49:39 2013 +0200 ---------------------------------------------------------------------- .../src/main/webapp/WEB-INF/web.xml | 2 +- .../src/main/webapp/WEB-INF/web.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/a498744d/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 e6a8fde..ffbe30d 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 @@ -77,7 +77,7 @@ <init-param> <param-name>cors.supportedHeaders</param-name> - <param-value>Origin, Accept</param-value> + <param-value>Origin, Accept, Content-Type</param-value> </init-param> </filter> http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/a498744d/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 d2e79d7..fd0e8be 100644 --- a/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml +++ b/launchers/marmotta-webapp/src/main/webapp/WEB-INF/web.xml @@ -73,7 +73,7 @@ <init-param> <param-name>cors.supportedHeaders</param-name> - <param-value>Origin, Accept</param-value> + <param-value>Origin, Accept, Content-Type</param-value> </init-param> </filter>
