Chunk file uploader: accept all kinds of media types.

This restriction was unnecessary and annoying to deal with in clients.
master
Tom Hacohen 4 years ago
parent cd86c060b5
commit 0585d6ee92

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

Loading…
Cancel
Save