Send the content type through to the cloud engines.

This commit is contained in:
Jake Moshenko 2014-09-09 16:52:53 -04:00
parent 29d40db5ea
commit 756e8ec848
5 changed files with 20 additions and 8 deletions

View file

@ -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: