Get resumable downloads working in a way that the Docker CLI will actually understand. Also rename the method to conform the the name used in the Docker source code.

This commit is contained in:
Joseph Schorr 2014-07-02 21:18:46 -04:00
parent 0d89fd7f26
commit 0ac6312c8a
4 changed files with 40 additions and 10 deletions

View file

@ -83,7 +83,7 @@ class S3Storage(BaseStorage):
key.set_contents_from_string(content, encrypt_key=True)
return path
def get_supports_resumable_downloads(self):
def get_supports_resumeable_downloads(self, path):
return True
def get_direct_download_url(self, path, expires_in=60):