# 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:
- Problem solving of IOS apple mach-o linker error group
- Problem solving: importerror: libcublas.so .9.0: cannot open shared object file: No such file
- Using uniapp uni.downloadFile Download picture to photo album times error unknown problem
- VMware (3): MacOS download software prompts “failed to complete the operation. ( com.apple.commerce . client error 500.) “
- How do I download or save a YouTube video to my computer?
- write error in swap file problem solving
- To solve the problem of nginx accessing PHP file into download
- Wrong path to add PCH file. Apple llvm 9.0 – language cannot be found in the new project
- About OSS file download and rename
- Golong based tool for automatically generating the corresponding struct file according to XML file
- Ajax can’t download file to browser
- The problem can not be viewed in the corner log of the Mac computer
- Solve the problem that Windows 7 cannot be updated automatically_ Prompt error code 80246008
- Video download problem of blob type URL
- How to solve the problem of no sound after Apple Mac recovers from sleep?
- [DRC nstd-1] problem solving of vivado error problem
- Solve the problem that the tray of electron system disappears automatically
- About solving the problem that vscode files cannot be edited
- After modifying the Tomcat configuration file in development, the modified configuration file will be automatically restored after ecplise starts Tomcat
- Because the computer is stuck, force to restart the computer and open idea idea to report an error on line 1: no content is allowed in the foreword.