Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Mementos can no longer be created by specifying a timestamp, and are always created on the current resource state at the current time.
  2. A memento can only be created if a resource has changed since the most recent memento was created. If the resource has not changed, the create memento request will return a 409-Conflict.
  3. Binaries and their descriptions are versioned independently. That is to say, creating a memento on a binary does not create a memento on its binary description, and vice versa.
  4. Mementos cannot be deleted.

Conditional PUT using If-Match Changes

  1. Etags are calculated differently, and can no longer be relied upon for use with the If-Match header for PUT requests.
  2. To perform a conditional PUT that works for both Fedora 5 and 6, use X-State-Token with X-If-State-Token instead.

Modifications to the same Resource in Separate Transactions

  1. If the same resource is modified in two different concurrent transactions, the first modification will succeed, but the second modification will fail with a 409 conflict with the following message: "Cannot update info:fedora/<id> because it is being updated by another transaction." This holds true for containers and binaries.
    1. In Fedora 5, both modifications would succeed, and whichever transaction committed last would be the final state of the object

GET Prefer return=minimal removed

It was determined that this option was not listed in either the Fedora or the LDP specification, so it was removed. To reproduce the previous behavior, you can use the following header:

Code Block
Prefer: return=representation; include="http://www.w3.org/ns/ldp#PreferMinimalContainer"; omit="http://fedora.info/definitions/fcrepo#ServerManaged"