text/plain

the difference between text / html & text / plain the
need to understand the concept of

Content-Type: used to define the user's browser how to display the data or the associated equipment to be loaded, or how data to be loaded

MIME: MIME type is a way to set some type of file extension with an application to open when the extension of the file being accessed, the browser will automatically use the specified application to open. Some are used for clients to specify custom file names, as well as some media files Open.

text / html means that the content-type settings file in the form of text / html, the browser will automatically call html parser in obtaining this file to the file accordingly.

text / plain mean the file as plain text form, the browser in getting to this file does not process it.

https://blog.csdn.net/github_38847071/article/details/79993935

Guess you like

Origin blog.csdn.net/weixin_42416812/article/details/90897040