couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject documentation commit: updated refs/heads/master to 3074cd1
Date Fri, 04 Sep 2015 11:41:24 GMT
Repository: couchdb-documentation
Updated Branches:
  refs/heads/master ddf248188 -> 3074cd10b


document CSRF mime type parameter


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

Branch: refs/heads/master
Commit: 3074cd10bd34a1a04118fc1ae6f3c9b1b0883319
Parents: ddf2481
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Sep 3 21:03:27 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Sep 3 21:05:08 2015 +0100

----------------------------------------------------------------------
 src/config/http.rst | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/3074cd10/src/config/http.rst
----------------------------------------------------------------------
diff --git a/src/config/http.rst b/src/config/http.rst
index d54d4aa..ed1d305 100644
--- a/src/config/http.rst
+++ b/src/config/http.rst
@@ -584,6 +584,15 @@ Cross-site Request Forgery protection
             [csrf]
             mandatory = true
 
+    .. config:option:: mime_types
+
+        CouchDB will only enforce CSRF protection for the listed mime
+        types. The default list is application/x-www-form-urlencoded,
+        multipart/form-data, text/plain::
+
+            [csrf]
+            mime_types = text/plain
+
     .. config:option:: secret
 
         All CSRF cookies are signed by the server using this value. A


Mime
View raw message