clojure-clutch/clutch — Issue #44: Add a function that checks for document's existence
Author: tomassedovic
Created: 2012-02-19 19:15:20+00:00
State: open

Sometimes it's useful to see whether a document with a given `_id` exists in the database. The `get-document` function works but it loads the entire body.

CouchDB API supports the HEAD HTTP method for exactly this purpose.

Please consider adding a `document-exists?` functionality.