[openstreetmap/openstreetmap-website] Idempotency for API 0.6 (#2201)
notifications at github.com
Sat Apr 20 17:30:26 UTC 2019
> obviously the far simpler solution to the whole issue is to generate a checksum with a suitable method and return an error to the application in question
I indeed thought about this, too. Sending an error message instead of the diffResult response might not be what editors are expecting, but yes that's an option for sure. I haven't really thought about some strange corner cases yet, where creating the same object twice would be a legitimate operation from an editor's pov. Maybe that's entirely theoretical thing only.
> while you might get the JOSM devs to use a indempotent-token-whatever your random web browser based application out there is not going to do so
This isn't a JOSM only show. Every editor dev team is free to adopt whatever concept we come up with, if they think it's important enough for them (or their users).
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev