1
0
mirror of https://github.com/etesync/server synced 2024-11-22 00:38:07 +00:00

Chunk file uploader: accept all kinds of media types.

This restriction was unnecessary and annoying to deal with in clients.
This commit is contained in:
Tom Hacohen 2020-12-15 13:58:59 +02:00
parent cd86c060b5
commit 0585d6ee92

View File

@ -6,8 +6,6 @@ class ChunkUploadParser(FileUploadParser):
Parser for chunk upload data.
"""
media_type = "application/octet-stream"
def get_filename(self, stream, media_type, parser_context):
"""
Detects the uploaded file name.