Merge pull request #396 from 2748109647/fix/www-authenticate-basic-challenge

auth: include Basic challenge in 401 responses
This commit is contained in:
Michael Eischer
2026-10-12 21:30:33 +02:00
committed by GitHub
4 changed files with 71 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
Bugfix: Include a Basic authentication challenge when credentials are rejected
Requests rejected by Basic authentication now include a `WWW-Authenticate` header,
allowing HTTP clients to prompt for credentials.
https://github.com/restic/rest-server/issues/376
https://github.com/restic/rest-server/pull/396