This is really neat!

It'd be interesting to explore a more complete mapping of beanstalk
protocol features to REST verbs and URIs.

One suggestion, though: HTTP requires PUT operations to be
idempotent[1], while POST is for creating a new element in a
collection[2]. So I think

    POST /<tube>

is more appropriate for submitting jobs, since submitting a job is not
idempotent and it creates a new entry in a collection.

kr

[1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.1.2
[2]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en.

Reply via email to