From c72a57b99c93a14cdf924771455a74aa358227c6 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Fri, 15 Mar 2013 10:58:36 +0200 Subject: improved handling of nested transactions add nested transaction support to protocol allow deferring validation to parent transaction process each update request within a nested transaction --- protocol.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocol.txt') diff --git a/protocol.txt b/protocol.txt index 0d699f3..c869224 100644 --- a/protocol.txt +++ b/protocol.txt @@ -19,9 +19,11 @@ req: POST / resp: txn ID (in header as X-ACF-Transaction-ID) - use X-ACF-Transaction-ID in the header of any subsequent request to process it in the transaction's context + - nested transactions can be started by using it in a subsequent + start transaction request Commit transaction: -req: POST / +req: PUT / X-ACF-Transaction-ID: Abort transaction: -- cgit v1.2.3