couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [04/13] couch commit: updated refs/heads/COUCHDB-3288-remove-public-db-record to b424a88
Date Tue, 21 Feb 2017 17:45:53 GMT
Add test_request:delete/3


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

Branch: refs/heads/COUCHDB-3288-remove-public-db-record
Commit: 9c68ae361be3932c860c540b5b598a454caa65e4
Parents: bbbd532
Author: ILYA Khlopotov <iilyak@apache.org>
Authored: Wed Feb 8 10:47:58 2017 -0800
Committer: ILYA Khlopotov <iilyak@apache.org>
Committed: Wed Feb 8 12:25:45 2017 -0800

----------------------------------------------------------------------
 src/test_request.erl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/9c68ae36/src/test_request.erl
----------------------------------------------------------------------
diff --git a/src/test_request.erl b/src/test_request.erl
index d757593..5bbd0ac 100644
--- a/src/test_request.erl
+++ b/src/test_request.erl
@@ -15,7 +15,7 @@
 -export([get/1, get/2, get/3]).
 -export([post/2, post/3, post/4]).
 -export([put/2, put/3, put/4]).
--export([delete/1, delete/2]).
+-export([delete/1, delete/2, delete/3]).
 -export([options/1, options/2, options/3]).
 -export([request/3, request/4]).
 
@@ -51,6 +51,9 @@ delete(Url) ->
 delete(Url, Opts) ->
     request(delete, Url, [], [], Opts).
 
+delete(Url, Headers, Opts) ->
+    request(delete, Url, Headers, [], Opts).
+
 options(Url) ->
     request(options, Url, []).
 


Mime
View raw message