Nice you done it. was also thinking to make a similar thing. But I better start learning python, that is so clean code :) My intention was to write it with php..
CD On Wed, Aug 18, 2010 at 9:18 PM, David Strauss <[email protected]>wrote: > On Wed, 2010-08-18 at 12:09 -0700, Keith Rarick wrote: > > 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> > > Indeed you're right. Not sure why I got them confused last night. (I had > thought PUT was the one to generically add to a collection but didn't > spend the time to verify the assumption.) > > I've updated the code to use POST. PUT support may return in some other > form if appropriate. Mapping the rest of Beanstalkd to REST isn't quite > as clean. > > -- > David Strauss > | [email protected] > | +1 512 577 5827 [mobile] > Four Kitchens > | http://fourkitchens.com > | +1 512 454 6659 [office] > | +1 512 870 8453 [direct] > > -- > 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]<beanstalk-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/beanstalk-talk?hl=en. > > -- 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.
