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/09/09 11:53:25 UTC

[05/50] [abbrv] git commit: updated refs/heads/1867-feature-plugins to 8aad450

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

Branch: refs/heads/1867-feature-plugins
Commit: ce71976a6bd68bd05cc8bc82743cc81dd60721bb
Parents: 34006fe
Author: Jan Lehnardt <ja...@apache.org>
Authored: Fri Aug 16 18:18:51 2013 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Mon Sep 9 11:16:42 2013 +0200

----------------------------------------------------------------------
 share/doc/src/configuring.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ce71976a/share/doc/src/configuring.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/configuring.rst b/share/doc/src/configuring.rst
index 2684024..f2def90 100644
--- a/share/doc/src/configuring.rst
+++ b/share/doc/src/configuring.rst
@@ -583,6 +583,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
 -----------------------