You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2012/12/04 21:43:50 UTC

[35/44] git commit: Revert "obviously we support the Origin header."

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/cf0512e7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/cf0512e7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/cf0512e7

Branch: refs/heads/1368-fix-multipart-header-parts
Commit: cf0512e7579cea82841391b406215b01f422c61b
Parents: 2f5ac8d
Author: benoitc <bc...@gmail.com>
Authored: Mon Nov 5 08:59:06 2012 +0100
Committer: benoitc <bc...@gmail.com>
Committed: Mon Nov 5 08:59:06 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/cf0512e7/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").