最近在关注http get 和 post的区别,关注到豆瓣说,post contentType为text/plain,之前没接触到这个类型,于是查了一些资料,在豆瓣说做了几个测试,标记下

 

有效地文档类型 contentType

客户端浏览器根据该属性判断文档类型。例如:
HTML : text/html
纯文本格式 : text/plain
JPG : image/jpeg
GIF : image/gif
WORD : application/msword

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-30
  • 2022-12-23
  • 2021-11-22
  • 2021-05-29
  • 2022-02-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2021-06-18
相关资源
相似解决方案