Hacker News new | past | comments | ask | show | jobs | submit login

> There's no (specified) retry mechanism — and POSTs aren't meant to be idempotent.

The semantics of the data exchanged by POST can be such that the request is effectively idempotent even though that's not an HTTP-level expectation (it's not wrong to have a layered-over-HTTP protocol in which methods are safer than HTTP requires, it would be wrong for them to be less safe than HTTP requires -- e.g., non-idempotent GET.)

If you are sending updated notifications over POST with the actual data then needing to be retrieved by a request the other directions, the first POST is effectively idempotent.

If you are sending the content in the POST without a key to prevent duplication, then there is a problem with retries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: