parent
94effb5aaa
commit
ee0eb80c8f
6 changed files with 14 additions and 10 deletions
|
@ -54,7 +54,7 @@ class FakeStorage(BaseStorageV2):
|
|||
_FAKE_STORAGE_MAP[new_uuid].seek(0)
|
||||
return new_uuid, {}
|
||||
|
||||
def stream_upload_chunk(self, uuid, offset, length, in_fp, _):
|
||||
def stream_upload_chunk(self, uuid, offset, length, in_fp, _, content_type=None):
|
||||
upload_storage = _FAKE_STORAGE_MAP[uuid]
|
||||
upload_storage.seek(offset)
|
||||
return self.stream_write_to_fp(in_fp, upload_storage, length), {}
|
||||
|
|
Reference in a new issue