Fix auth and add V2 tests!
This commit is contained in:
parent
afdd687192
commit
42dba8655c
5 changed files with 180 additions and 51 deletions
|
@ -59,7 +59,7 @@ def _base_blob_fetch(namespace, repo_name, digest):
|
|||
|
||||
# Add the Accept-Ranges header if the storage engine supports resumable
|
||||
# downloads.
|
||||
if storage.get_supports_resumable_downloads(found.storage.locations):
|
||||
if storage.get_supports_resumable_downloads(found.locations):
|
||||
logger.debug('Storage supports resumable downloads')
|
||||
headers['Accept-Ranges'] = 'bytes'
|
||||
|
||||
|
|
Reference in a new issue