summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_rep_writer.erl
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2010-06-25 05:30:51 +0000
committerJohn Christopher Anderson <jchris@apache.org>2010-06-25 05:30:51 +0000
commit6d88c8c6d66772a1dac1d351405eff9c513d263e (patch)
tree88392cfcbae52f4cd5daab8bef491dd3d90cb4ed /src/couchdb/couch_rep_writer.erl
parenta3886989b9e09ca5d01e18f1e39e9dae0f280530 (diff)
make the authentication redirect URL configurable. setting it to the empty string yields the 0.11 behavior
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957805 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_rep_writer.erl')
-rw-r--r--src/couchdb/couch_rep_writer.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_writer.erl b/src/couchdb/couch_rep_writer.erl
index 16fc1902..dd6396fd 100644
--- a/src/couchdb/couch_rep_writer.erl
+++ b/src/couchdb/couch_rep_writer.erl
@@ -78,7 +78,6 @@ write_bulk_docs(#http_db{headers = Headers} = Db, Docs) ->
body = {[{new_edits, false}, {docs, JsonDocs}]},
headers = couch_util:proplist_apply_field({"Content-Type", "application/json"}, [{"X-Couch-Full-Commit", "false"} | Headers])
},
- ?LOG_ERROR("headers ~p",[Request#http_db.headers]),
ErrorsJson = case couch_rep_httpc:request(Request) of
{FailProps} ->
exit({target_error, couch_util:get_value(<<"error">>, FailProps)});