Re: [OSM-dev] API 0.6 - DELETE question

2009-05-05 Thread Andy Allan
On Mon, May 4, 2009 at 5:37 PM, Karl Guggisberg karl.guggisb...@guggis.ch wrote: Hi, just wondering why DELETE /api/0.6/[node|way|relation]/#id isn't idempotent, i.e. why DELETE(primitive) where primitive.visible=false will lead to 410 Gone instead of 200 OK? I would argue that it is

[OSM-dev] API 0.6 - DELETE question

2009-05-04 Thread Karl Guggisberg
Hi, just wondering why DELETE /api/0.6/[node|way|relation]/#id isn't idempotent, i.e. why DELETE(primitive) where primitive.visible=false will lead to 410 Gone instead of 200 OK? It leads to aborted changesets, i.e. PUT /api/0.6/changeset/#id ( DELETE node where node.visible ==

Re: [OSM-dev] API 0.6 - DELETE question

2009-05-04 Thread Frederik Ramm
Hi, Karl Guggisberg wrote: just wondering why DELETE /api/0.6/[node|way|relation]/#id isn't idempotent, i.e. why DELETE(primitive) where primitive.visible=false will lead to 410 Gone instead of 200 OK? I guess if you do not already know that the object is deleted (which I infer from your

Re: [OSM-dev] API 0.6 - DELETE question

2009-05-04 Thread Karl Guggisberg
[mailto:frede...@remote.org] Gesendet: Montag, 4. Mai 2009 19:08 An: karl.guggisb...@guggis.ch Cc: dev@openstreetmap.org Betreff: Re: [OSM-dev] API 0.6 - DELETE question Hi, Karl Guggisberg wrote: just wondering why DELETE /api/0.6/[node|way|relation]/#id isn't idempotent, i.e. why DELETE