test/registry: add accept header test
This commit is contained in:
parent
b7573a8c88
commit
6d4300a92a
3 changed files with 28 additions and 1 deletions
|
@ -136,6 +136,7 @@ class V2Protocol(RegistryProtocol):
|
|||
|
||||
headers = {
|
||||
'Authorization': 'Bearer ' + token,
|
||||
'Accept': options.accept_mimetypes,
|
||||
}
|
||||
|
||||
# Build fake manifests.
|
||||
|
|
Reference in a new issue