1, need to keep the current page url unchanged;
2, pictures, html and other format files are not opened in the browser but prompted to save to the local hard disk;
3, compatible with the possibility of mobile and matters needing attention.
I hope you can give me your advice.
I learned that browsers decide how to handle different resources based on the content of the http response. Are there any detailed tutorials / blogs / wikis?