couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [21/28] git commit: obviously we support the Origin header.
Date Sun, 11 Nov 2012 19:24:32 GMT
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/bc654966
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/bc654966
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/bc654966

Branch: refs/heads/431-feature-cors
Commit: bc654966634d6c0f5073d899d590e95c5195a96d
Parents: ab34e8e
Author: benoitc <bchesneau@gmail.com>
Authored: Mon Nov 5 08:56:13 2012 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sun Nov 11 16:11:14 2012 +0000

----------------------------------------------------------------------
 src/couchdb/couch_httpd_cors.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/bc654966/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