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 committed 2020-12-15 13:59:06 +02:00
1 parent cd86c060b5
commit 0585d6ee92
1 file changed
-2
-2
View File
@@ -6,8 +6,6 @@ class ChunkUploadParser(FileUploadParser):
Parser for chunk upload data. Parser for chunk upload data.
""" """
media_type = "application/octet-stream"
def get_filename(self, stream, media_type, parser_context): def get_filename(self, stream, media_type, parser_context):
""" """
Detects the uploaded file name. Detects the uploaded file name.