summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2009-11-13 22:29:09 +0000
committerDamien F. Katz <damien@apache.org>2009-11-13 22:29:09 +0000
commit1d5b30b916dbfb25e28d3c9a2e9d97da0bac0dff (patch)
treee01c2b553e2686d361fba45f740d8dfb5600fa2a /src
parentcbc69a03db8159bc2a49f5f517dcaa2b5c4478fa (diff)
Remove debigging messages
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836032 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_httpd_db.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl
index 0cad21e1..7be10d42 100644
--- a/src/couchdb/couch_httpd_db.erl
+++ b/src/couchdb/couch_httpd_db.erl
@@ -508,7 +508,6 @@ db_req(#httpd{method='POST',path_parts=[_,<<"_missing_revs">>]}=Req, Db) ->
{JsonDocIdRevs} = couch_httpd:json_body_obj(Req),
JsonDocIdRevs2 = [{Id, [couch_doc:parse_rev(RevStr) || RevStr <- RevStrs]} || {Id, RevStrs} <- JsonDocIdRevs],
{ok, Results} = couch_db:get_missing_revs(Db, JsonDocIdRevs2),
- io:format("Results:~p~n", [Results]),
Results2 = [{Id, couch_doc:revs_to_strs(Revs)} || {Id, Revs, _} <- Results],
send_json(Req, {[
{missing_revs, {Results2}}
@@ -787,7 +786,6 @@ db_doc_req(#httpd{method='PUT'}=Req, Db, DocId) ->
RespHeaders = [{"Location", Loc}],
case couch_httpd:header_value(Req, "content-type") of
("multipart/related" ++ _Rest) = ContentType->
- io:format("Huh!~n"),
Doc0 = couch_doc:doc_from_multi_part_stream(ContentType,
fun() -> receive_request_data(Req) end),
Doc = couch_doc_from_req(Req, DocId, Doc0),