parent
94effb5aaa
commit
ee0eb80c8f
6 changed files with 14 additions and 10 deletions
|
@ -122,7 +122,7 @@ class BaseStorageV2(BaseStorage):
|
|||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def stream_upload_chunk(self, uuid, offset, length, in_fp, storage_metadata):
|
||||
def stream_upload_chunk(self, uuid, offset, length, in_fp, storage_metadata, content_type=None):
|
||||
""" Upload the specified amount of data from the given file pointer to the chunked destination
|
||||
specified, starting at the given offset. Returns the number of bytes uploaded, and a new
|
||||
version of the storage_metadata. Raises InvalidChunkException if the offset or length can
|
||||
|
|
Reference in a new issue