couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [22/28] git commit: Revert "obviously we support the Origin header."
Date Sun, 11 Nov 2012 19:24:32 GMT
Revert "obviously we support the Origin header."

I need new glasses apparently. Origin is already part of the supported
headers list...

This reverts commit 2f5ac8d9a08af913b212a404e380efeb3552b199.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/fbefdb61
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/fbefdb61
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/fbefdb61

Branch: refs/heads/431-feature-cors
Commit: fbefdb6136922fece6992acd6bea8d1f2faa44a9
Parents: bc65496
Author: benoitc <bchesneau@gmail.com>
Authored: Mon Nov 5 08:59:06 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/fbefdb61/src/couchdb/couch_httpd_cors.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_cors.erl b/src/couchdb/couch_httpd_cors.erl
index a752e2c..879fee0 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, "Origin, Accept, Accept-Language, Content-Type," ++
+-define(SUPPORTED_HEADERS, "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