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:
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…
Reference in New Issue
Block a user