def METHOD_NAME(self, itemId):
    # Download item through REST api
    path = '/item/%s/download' % str(itemId)
    resp = self.request(path, isJson=False)
    self.assertStatusOk(resp)
    # Iterate through generator to trigger download events
    for data in resp.body:
        data