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 2013/08/16 18:20:13 UTC
git commit: updated refs/heads/master to e874245
Updated Branches:
refs/heads/master 8fe4869ae -> e874245f6
document header config for cors
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/e874245f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e874245f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e874245f
Branch: refs/heads/master
Commit: e874245f6ed0a7af554e8dbab24ad465d2abffa0
Parents: 8fe4869
Author: Jan Lehnardt <ja...@apache.org>
Authored: Fri Aug 16 18:18:51 2013 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Fri Aug 16 18:19:25 2013 +0200
----------------------------------------------------------------------
share/doc/src/configuring.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/e874245f/share/doc/src/configuring.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/configuring.rst b/share/doc/src/configuring.rst
index 8d3e704..e62075a 100644
--- a/share/doc/src/configuring.rst
+++ b/share/doc/src/configuring.rst
@@ -579,6 +579,16 @@ Specific HTTP methods may also be restricted:
; refer to http://tools.ietf.org/html/rfc2616, rfc2817, rfc5789
methods = GET, POST, PUT, DELETE
+You can allow additional HTTP header fields to be allowed:
+
+.. code-block:: ini
+
+ [cors]
+ ; List of accepted headers separated by a comma
+ headers = Authorization, Cookie
+
+Note that `Authorization` and `Cookie` are not part of the standard set.
+
Configuration per vhost
-----------------------