distributed-system-analysis / pbench

A benchmarking and performance analysis framework
http://distributed-system-analysis.github.io/pbench/
GNU General Public License v3.0
188 stars 108 forks source link

Fix error for unauthenticated `/datasets?mine` #3567

Closed dbutenhof closed 1 year ago

dbutenhof commented 1 year ago

PBENCH-1287

We noticed a 400 error on use of ?mine from an unauthenticaated client, which is misleading. There was nothing wrong with the request itself, but ?mine requires an authenticated client. Change it to 401 (UNAUTHORIZED).