Hi Norman,

On 19 May 2010, at 00:42, Norman Barker wrote:

> Hi,
> 
> does couchdb support http head requests? I would like to retrieve the
> e-tag but not the body? I have tried
> 
> curl -X HEAD "http://localhost:5984/test/myid";
> 
> but it just hangs.

This is "a feature" of curl. To do HEAD requests use:

  curl -I http://localhost:5984/test/myid

CouchDB supports HEAD requests for most resources where it makes sense.

Cheers
Jan
--

Reply via email to