mirror of
https://github.com/restic/rest-server.git
synced 2026-10-15 23:20:05 -07:00
Merge pull request #396 from 2748109647/fix/www-authenticate-basic-challenge
auth: include Basic challenge in 401 responses
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user