Skip to content

Commit

Permalink
add auth method for curl backend
Browse files Browse the repository at this point in the history
  • Loading branch information
zoj613 committed Dec 15, 2024
1 parent dedbd3e commit 7287b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zarr/src/storage/http.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7287b07

Please sign in to comment.