couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [03/49] chttpd commit: updated refs/heads/windsor-merge to 554ef74
Date Fri, 01 Aug 2014 09:05:39 GMT
Allow ?deleted=true on doc GET's


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/57697a8c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/57697a8c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/57697a8c

Branch: refs/heads/windsor-merge
Commit: 57697a8c9fc7af9a454a8808bdd61196ccc32c6a
Parents: ce262ee
Author: Robert Newson <robert.newson@cloudant.com>
Authored: Fri Mar 15 18:09:59 2013 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Jul 29 17:10:44 2014 +0100

----------------------------------------------------------------------
 src/chttpd_db.erl | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/57697a8c/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index 7060d02..8839eb1 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -1178,6 +1178,9 @@ parse_doc_query(Req) ->
         {"conflicts", "true"} ->
             Options = [conflicts | Args#doc_query_args.options],
             Args#doc_query_args{options=Options};
+        {"deleted", "true"} ->
+            Options = [deleted | Args#doc_query_args.options],
+            Args#doc_query_args{options=Options};
         {"deleted_conflicts", "true"} ->
             Options = [deleted_conflicts | Args#doc_query_args.options],
             Args#doc_query_args{options=Options};


Mime
View raw message