I don't think we need to raise an error here. Just a warning would do, since we would only download ```required_length``` bytes anyway.