-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add idempotence/retry behavior to ILP-over-HTTP (#567)
* docs: idempotence/retry behavior for ILP-over-HTTP * fix: separate request id and idempotency key * fix: error if no corresponding ILP Prepare * fix: caveat for retry behavior, clarifications * fix: clarify support for sync mode Co-Authored-By: David Fuelling <sappenin@gmail.com> * docs: reorganize ilp-over-http async mode - reorganize for clarity - clarify async mode is optional, sync mode is still supported - clarify behavior of sender and receiver for retries - use 202 Accepted for async response - retrying ILP Prepares is optional and must be negotiated out of band - add timeout after Prepare expries before purging old idempotency keys * docs: address comments - clarify why ILP Prepares are retried, and why it needs to be negotiated - minor edits - remove 409 retry behavior - clarify when idempotence should be used * docs(http): callback header, omit Prepare retries * docs(http): add prefer header, fix examples * fix(http): require request id, callback headers Co-authored-by: David Fuelling <sappenin@gmail.com>
- Loading branch information
1 parent
2473d29
commit 322ab73
Showing
1 changed file
with
76 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters