1234567 |
- def delete(self, where, item_id):
- """Returns a JSON API result object."""
- item_uri = self.uri % (where, str(item_id))
- h = httplib2.Http()
- response, content = h.request(item_uri, method="DELETE", headers=self.headers)
- return response["status"] == "204", response, content
|