api, utils: Fetch content bytes from storage using all hash algorithms
When calling the content_get_data method from the storage interface, ensure to provide all content hashes as parameter to avoid an extra request on the storage server to fetch missing hashes. Factorize code a bit to reuse the lookup_content function instead of duplicating code.
parent
e124c6e0