You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2012/11/05 08:57:37 UTC
git commit: obviously we support the Origin header.
Updated Branches:
refs/heads/431-feature_cors 95e5c72df -> 2f5ac8d9a
obviously we support the Origin header.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2f5ac8d9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2f5ac8d9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/2f5ac8d9
Branch: refs/heads/431-feature_cors
Commit: 2f5ac8d9a08af913b212a404e380efeb3552b199
Parents: 95e5c72
Author: benoitc <bc...@gmail.com>
Authored: Mon Nov 5 08:56:13 2012 +0100
Committer: benoitc <bc...@gmail.com>
Committed: Mon Nov 5 08:56:13 2012 +0100
----------------------------------------------------------------------
src/couchdb/couch_httpd_cors.erl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/2f5ac8d9/src/couchdb/couch_httpd_cors.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_cors.erl b/src/couchdb/couch_httpd_cors.erl
index 879fee0..a752e2c 100644
--- a/src/couchdb/couch_httpd_cors.erl
+++ b/src/couchdb/couch_httpd_cors.erl
@@ -22,7 +22,7 @@
-export([is_preflight_request/1, cors_headers/1]).
--define(SUPPORTED_HEADERS, "Accept, Accept-Language, Content-Type," ++
+-define(SUPPORTED_HEADERS, "Origin, Accept, Accept-Language, Content-Type," ++
"Expires, Last-Modified, Pragma, Origin, Content-Length," ++
"If-Match, Destination, X-Requested-With, " ++
"X-Http-Method-Override, Content-Range").