Go-get: returns 401 error for authenticated requests with invalid credentials to private projects
Follow-up for Go-get: returns 401 error for unauthenticated r... (#493732 - closed)
See report: #493732 (comment 2177030822)
Details
URL points to a private project
curl -I "https://gitlab.company.net/shared/go-util?go-get=1" HTTP/2 200 # without auth - fixed in #493732 (closed)
curl -I "https://gitlab.company.net/shared/go-util?go-get=1" HTTP/2 200 # with auth
curl -I "https://gitlab.company.net/shared/go-util?go-get=1" HTTP/2 401 # with invalid auth - WRONG
Expected behavior
- curl -I "https://gitlab.company.net/shared/go-util?go-get=1" HTTP/2 **404** # with invalid auth