-
Notifications
You must be signed in to change notification settings - Fork 4
Should FCR API Guarantee Slug Behavior on POST? #6
Copy link
Copy link
Open
Labels
Description
Both Derby and FCRepo4 currently respect Slug: headers on HTTP POST requests, failing the request if the requested slug can't be applied.
This behavior provides a safe mechanism for clients to request a new resource with a known URI within a given container. PUT can provide a similar mechanism, but only with a more complex set of assumptions about the containment of resources created with PUT requests. The slug approach feels more general.
@tpendragon, @cbeer and I ran into this while testing ActiveFedora with Derby, and had the sense that POST was the best approach for clients aiming for generalized LDP support.
Reactions are currently unavailable