@staticmethod
def _do_resumable_upload_call2(blob, content_type, data, resumable_url, total_bytes):
    content_range = 'bytes {:d}-{:d}/{:d}'.format(blob.chunk_size, (total_bytes - 1), total_bytes)
    expected_headers = {'content-type': content_type, 'content-range': content_range}
    payload = data[blob.chunk_size:]
    return mock.call('PUT', resumable_url, data=payload, headers=expected_headers)
@staticmethod
def _do_resumable_upload_call2(blob, content_type, data, resumable_url, total_bytes):
    content_range = 'bytes {:d}-{:d}/{:d}'.format(blob.chunk_size, (total_bytes - 1), total_bytes)
    expected_headers = {'content-type': content_type, 'content-range': content_range}
    payload = data[blob.chunk_size:]
    return mock.call('PUT', resumable_url, data=payload, headers=expected_headers)