<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=5842757" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mmd-osm">@mmd-osm</a> yes so there is a special case of a special case in which re-trying automatically is legit from the RFC pov (but obviously as it breaks the POST semantics, actually doing so is clearly broken too).</p>
<p>If we are so concerned about this specific scenario , then 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 if the repeated upload matches, because 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.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2201#issuecomment-485143934">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMGBTGYEGBFYALFBPTPRNFDBANCNFSM4HEAKOPQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLKFCJEGJSF7EXMHWDTPRNFDBANCNFSM4HEAKOPQ.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@simonpoole in #2201: @mmd-osm yes so there is a special case of a special case in which re-trying automatically is legit from the RFC pov (but obviously as it breaks the POST semantics, actually doing so is clearly broken too). \r\n\r\nIf we are so concerned about this specific scenario , then 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 if the repeated upload matches, because 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."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/2201#issuecomment-485143934"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2201#issuecomment-485143934",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2201#issuecomment-485143934",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>