mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #181] How to download via api if auth is set #89
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Jiesen-Chen on GitHub (Feb 21, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/181
@sigoden commented on GitHub (Feb 21, 2023):
For basic auth:
In other http client, add header
Authorization: Basic YWRtaW46YWRtaW4=For digest auth
In other http client, add header
Authorization: Digest username="admin", realm="DUFS", nonce="63f42d2ef777ad88783383c83cd5903932", uri="/", response="23e0b106204a6a0b9c5241e667bda41b", qop=auth, nc=00000002, cnonce="1cee67e83a70d0d6"