mirror of
https://github.com/restic/rest-server.git
synced 2026-10-15 23:20:05 -07:00
Requests rejected by Basic authentication currently return 401 without WWW-Authenticate, preventing HTTP clients from prompting for credentials. Advertise the Basic scheme on the server and metrics auth paths while leaving proxy authentication unchanged.
7 lines
262 B
Plaintext
7 lines
262 B
Plaintext
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
|