Basic implementation of backup media store

This commit is contained in:
Erik Johnston 2017-10-12 15:20:59 +01:00
parent f807f7f804
commit bf4fb1fb40
4 changed files with 130 additions and 125 deletions

View file

@ -93,7 +93,7 @@ class UploadResource(Resource):
# TODO(markjh): parse content-dispostion
content_uri = yield self.media_repo.create_content(
media_type, upload_name, request.content.read(),
media_type, upload_name, request.content,
content_length, requester.user
)