0
点赞
收藏
分享

微信扫一扫

text/html和text/plain的区别

phpworkerman 2022-09-02 阅读 93


文章目录

  • ​​text/html 和text/plain的区别​​
  • ​​text/html​​
  • ​​text/plain​​

text/html 和text/plain的区别

text/html

text/html会将文件的content-type设置为text/html的形式,浏览器在获取这种文件时,会自动调用html的解析器对文件进行解析

text/plain

text/plain 会将文件设置为纯文本的形式,浏览器在获取这种文件时不会对其处理


举报

相关推荐

0 条评论