0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-02-17 23:45:36 -05:00
zot/pkg/api
Ramkumar Chinchani 026b009dbb compat: when in "world-readable" mode, return the WWW-Authenticate
header

containers/image is the dominant client library to interact with
registries.

It detects which authentication to use based on the WWW-Authenticate
header returned when pinging "/v2/" end-point. If we didn't return this
header, then creds are not used for other write-protected end-points.
Hence, the compatibility fix.
2020-05-19 13:54:45 -07:00
..
auth.go Fix auth scope on endpoints without repo name 2020-01-31 18:04:38 -06:00
BUILD.bazel bazel: fix bazel build failures 2020-03-20 10:58:21 -07:00
config.go config: add gc and dedupe as configurable params (default to enabled) 2020-04-16 16:01:53 -07:00
controller.go config: add gc and dedupe as configurable params (default to enabled) 2020-04-16 16:01:53 -07:00
controller_test.go compat: when in "world-readable" mode, return the WWW-Authenticate 2020-05-19 13:54:45 -07:00
errors.go check: add unit tests to cover the new code, fix linter errors 2020-01-31 13:21:43 -08:00
ldap.go ldap: prune unused code 2020-03-30 23:12:16 -07:00
regexp.go compliance: be compliant with dist-spec compliance tests 2020-01-16 11:28:23 -08:00
routes.go compat: when in "world-readable" mode, return the WWW-Authenticate 2020-05-19 13:54:45 -07:00