sherzberg / python-beanstalk-api

Project contains the python bindings for the Beanstalk VCS API
Other
8 stars 3 forks source link

Allow HTTP PUT and DELETE #4

Closed zoni closed 11 years ago

zoni commented 11 years ago

Beanstalk's API requires PUT and DELETE for some of it's API calls, and not just GET and POST. (Deleting a user is a good example of this.)

These commits create _do_get(), _do_post(), _do_put() and _do_delete() methods to use instead of the generic _do_request to allow us to use any of these methods.

sherzberg commented 11 years ago

Awesome! Thanks!