You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/01 11:05:39 UTC

[03/49] chttpd commit: updated refs/heads/windsor-merge to 554ef74

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 <ro...@cloudant.com>
Authored: Fri Mar 15 18:09:59 2013 +0000
Committer: Robert Newson <rn...@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};