Apple computer download file automatically with suffix problem solving

# download files automatically to avoid apple computer with suffix
discovered an interesting document, download a plain text file will not win with suffix, but MAC download will take a suffix, and asked for direct download, file download time cannot be browser opens, as shown in figure:

in the figure, found that under the MAC apple is, according to official provided in the download file but the download your configuration file is plain text document.
default_type application/json;
;
add_header content-disposition attachment
add_header content-disposition attachment
add_header content-disposition attachment
add_header content-disposition attachment
add_header content-disposition attachment
add_header content-disposition attachment
add_header Content-Type application/octet-stream;
and default_type is not configured. This allows Mac to download files directly without suffixes.


Read More: