NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Idempotence (Score:1)
You should be able to PUT the same resource with the same data and it have no additional effect, after the first time.
Remember also that the agent (client) submitting a PUT request should be able to tell if this is a new resource being created through the 201 response, although in practice this is heavily abused and many programs always return 200 responses for all success.
Re:Idempotence (Score:2)
Trouble with using PUT for Create (Score:1)
Waiting on the Road to Eventually, I lost my Place On Line
Re:Trouble with using PUT for Create (Score:2)
From what I've read the common thing to do is PUT to the 'collection' URI -- in your case, you'd do 'PUT /videos'; the server would return a '201 Created' header with the URI of the resource you just uploaded, like: '/video/110'.