couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <>
Subject Re: PUT / POST tradeoffs
Date Mon, 14 Apr 2008 20:36:27 GMT
On Mon, Apr 14, 2008 at 1:27 PM, Brian Smith <> wrote:
>  PUT is almost always better than POST; if you experience network
>  failures, you can retry the PUT without any ill effects. If you use
>  POST, and your experience a network partition before you get the
>  response, how will you determine whether or not the POST succeeded? See
>  "Post Once Exactly" (, HTTPLR
>  (, and their related
>  discussions.

Thanks Brian - I think I meant PUT... I've been using the batch POST
(which acts like PUT if you specify the document_id) so I spoke a
little fuzzily. And that's an extremely clear rational for PUT.


Chris Anderson

View raw message