Transaction Header

Topic Last Modified: 2006-06-13

The WebDAV Transaction header is used with the WebDAV and HTTP write methods to indicate that the method is to be included within the scope of a WebDAV transaction. The Transaction header is set to the lock token obtained from the LOCK Method response used to initiate the transaction. If the Transaction header is submitted without a lock token or with multiple tokens, then the method will fail.

The client must also be the owner of the transaction lock token; a client cannot add an operation to another client's transaction.

The Transaction header may submit a lock token that is different than one submitted in the If Header. This causes the method to be added to the transaction if the lock token is valid, but the method may succeed if the transaction does not exist.

Transaction = "Transaction" ":" Coded-URL

Example

Transaction: <opaquelocktoken:a515cfa4-5da4-22e1-f5bf-00a0451e6bf7>