incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Barker <norman.bar...@gmail.com>
Subject Re: HEAD requests
Date Tue, 18 May 2010 23:44:18 GMT
Hi Jan,

thanks, that fixed it!

Norman

On Tue, May 18, 2010 at 4:48 PM, Jan Lehnardt <jan@apache.org> wrote:
> 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
> --
>
>

Mime
View raw message