couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wolfgang haefelinger <whaefelin...@gmail.com>
Subject Re: delete Docs
Date Tue, 06 Apr 2010 07:53:52 GMT
> I'm not using couchdb-python yet, still playing with httplib2 to try
> and understand the low levels

Use 'curl' to look behind the scenes of that REST api.

> and indeed couchdb-python uses this :
>
>        status, headers, data = self.resource.head(id)
>        self.resource.delete_json(id, rev=headers['etag'].strip('"'))

Strange. Wouldn't we expect that deleting a resource is independent
from its representation, would we?

Mime
View raw message