From 7287b07ac2fb388921fe491aa68e5bfae166803f Mon Sep 17 00:00:00 2001 From: Zolisa Bleki Date: Mon, 16 Dec 2024 01:40:05 +0200 Subject: [PATCH] add auth method for curl backend --- zarr/src/storage/http.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zarr/src/storage/http.ml b/zarr/src/storage/http.ml index 3ec948f..28f30af 100644 --- a/zarr/src/storage/http.ml +++ b/zarr/src/storage/http.ml @@ -151,7 +151,7 @@ module Make let perform client = let config = Ezcurl_core.Config.( default |> max_redirects redirects |> follow_location true |> - username basic_auth.user |> password basic_auth.pwd + authmethod [CURLAUTH_ANY] |> username basic_auth.user |> password basic_auth.pwd ) in f IO.{tries; client; config; base_url = url ^ "/"} in