Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an HTTP 404 response during sync from registry.redhat.io.
Whenever a token expires a new token is requested. The 404 sync problem was triggered because the accept headers that were passed originally with the expired token were not passed to the re-newed token. As a result the registry was redirecting to the wrong schema version (schema1, which is unsupported since july 2022 https://access.redhat.com/articles/6138332) because of absense of the accept headers. closes #974 (cherry picked from commit 16e104f)
- Loading branch information