mirror of
https://github.com/etesync/server
synced 2024-11-22 08:48: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:
parent
cd86c060b5
commit
0585d6ee92
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user