oci-registry: Use the new http header parser

This commit is contained in:
Alexander Larsson
2022-06-14 09:34:00 +02:00
committed by Alexander Larsson
parent 618d0c8fae
commit 62f33a4d6d

View File

@@ -1002,7 +1002,7 @@ get_token_for_www_auth (FlatpakOciRegistry *self,
return NULL;
}
params = soup_header_parse_param_list (www_authenticate + strlen ("Bearer "));
params = flatpak_parse_http_header_param_list (www_authenticate + strlen ("Bearer "));
realm = g_hash_table_lookup (params, "realm");
if (realm == NULL)