Skip to content

Commit 4a94146

Browse files
committed
add auth method for curl backend
1 parent 9b77faa commit 4a94146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/src/storage/http.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ module Make
151151
let perform client =
152152
let config = Ezcurl_core.Config.(
153153
default |> max_redirects redirects |> follow_location true |>
154-
username basic_auth.user |> password basic_auth.pwd
154+
authmethod [CURLAUTH_ANY] |> username basic_auth.user |> password basic_auth.pwd
155155
) in
156156
f IO.{tries; client; config; base_url = url ^ "/"}
157157
in

0 commit comments

Comments
 (0)