Github user kxepal commented on a diff in the pull request: https://github.com/apache/couchdb-couch-replicator/pull/11#discussion_r31619297 --- Diff: src/couch_replicator_api_wrap.erl --- @@ -83,9 +83,16 @@ db_open(#httpdb{} = Db1, _Options, Create) -> ok end) end, - send_req(Db, [{method, head}], - fun(200, _, _) -> - {ok, Db}; + send_req(Db, [{method, get}], + fun(200, _, {Props}) -> + case get_value(<<"update_seq">>, Props) of --- End diff -- @mikewallace1979 yes, because only these two fields are required for replication process. If the remote peer is a CouchDB database, it will provide both with no questions. If the remote is third party HTTP endpoint which claims to support replication protocol, this check will force it provides required for start information.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---