Send the content type through to the cloud engines.
This commit is contained in:
parent
29d40db5ea
commit
756e8ec848
5 changed files with 20 additions and 8 deletions
|
@ -41,7 +41,7 @@ class LocalStorage(BaseStorage):
|
|||
path = self._init_path(path)
|
||||
return open(path, mode='rb')
|
||||
|
||||
def stream_write(self, path, fp):
|
||||
def stream_write(self, path, fp, content_type=None):
|
||||
# Size is mandatory
|
||||
path = self._init_path(path, create=True)
|
||||
with open(path, mode='wb') as f:
|
||||
|
|
Reference in a new issue