Commit b13caffd authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

do not send mime type in downloads

parent e193037b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ def force_download(
        request,
        open(file.local_path(), "rb"),
        filename=file.new_filename,
        content_type=file.file_type.mime,
        # content_type=file.file_type.mime, # Firefox is bad
    )


@@ -371,7 +371,7 @@ def force_download_public(
        request,
        open(file.local_path(), "rb"),
        filename=file.new_filename,
        content_type=file.file_type.mime,
        # content_type=file.file_type.mime, # Firefox is bad
    )