couchdb-replication mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yaron Goland <yar...@microsoft.com>
Subject Re: Server feature detection
Date Thu, 06 Feb 2014 06:34:15 GMT
Honestly this sounds like a good job for OPTIONS but Mark Nottingham would disagree - see http://www.mnot.net/blog/2012/10/29/NO_OPTIONS.
Personally I think a Couch DB specific solution (e.g. returning server data as JSON on a GET
request on the root of the server) is just fine. Good general purpose solutions are hard.
Good specific solutions tend to be easier.

           Yaron

Sent from Windows Mail

From: Jens Alfke<mailto:jens@couchbase.com>
Sent: ‎Wednesday‎, ‎February‎ ‎5‎, ‎2014 ‎7‎:‎20‎ ‎PM
To: replication@couchdb.apache.org<mailto:replication@couchdb.apache.org>


On Feb 5, 2014, at 5:22 PM, 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.

That seems rather CouchDB-specific. What I'm talking about is something that would work with
any API-compatible implementation, including ones that are architecturally quite different.

—Jens
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message