couchdb-replication mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: Server feature detection
Date Thu, 06 Feb 2014 01:29:43 GMT
On Thu, Feb 6, 2014 at 5:22 AM, Klaus Trainer <klaus_trainer@posteo.de> wrote:
> Regarding your example about trying to find out if a _bulk_get feature
> is available, this is what you could do: check if the
> "httpd_db_handlers" object has a "_bulk_get" property.  If yes, it means
> that there is a handler for "/:db/_bulk_get" queries.

Accessing to _config will require server administrator's access level
and sending just HEAD to /:db/_bulk_get much more cheaper and simpler.
But both methods gives no warranty that this resource will acts in the
way you expected.

Joan had proposed Capability identification some time ago:
http://www.mail-archive.com/dev@couchdb.apache.org/msg26238.html
you may found this useful.

--
,,,^..^,,,

Mime
View raw message