publishers_28.py 291 B

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