couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject git commit: obviously we support the Origin header.
Date Mon, 05 Nov 2012 07:57:37 GMT
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 <bchesneau@gmail.com>
Authored: Mon Nov 5 08:56:13 2012 +0100
Committer: benoitc <bchesneau@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").


Mime
View raw message