mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #279] [MERGED] feat: deprecate --auth-method, as both options are available
#544
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?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/279
Author: @sigoden
Created: 11/3/2023
Status: ✅ Merged
Merged: 11/3/2023
Merged by: @sigoden
Base:
main← Head:feat-auth📝 Commits (2)
010f080feat: deprecate--auth-method, both are avaiablef4275f3send one www-authenticate with two scheme📊 Changes
7 files changed (+130 additions, -172 deletions)
View changed files
📝
README.md(+2 -4)📝
src/args.rs(+1 -7)📝
src/auth.rs(+107 -132)📝
src/log_http.rs(+5 -7)📝
src/server.rs(+9 -16)📝
tests/auth.rs(+3 -3)📝
tests/log_http.rs(+3 -3)📄 Description
In request, we auto detect auth method from Authorization Header.
In response, we set a www-authenticate headers with both schema:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.