grj001

Content-Type是什么意思?

2018年09月17日 14:22:50 谭超zhong 阅读数 976

 版权声明:tanchaozhong.blog.csdn.net谭超zhong个人原创博文禁止匿名转载与抄袭!https://blog.csdn.net/weixin_42204641/article/details/82736746
 

Content-Type描述的只是发送端;
发送端既可以是服务器也可以是客户端;
Content-Type代表发送端发送的实体数据的数据类型。
比如:Content-Type:text/html;
代表发送端发送的数据格式是html

post请求肯定要发送数据包;
因此对数据包的Type有专门的限定:
Content-Type只能是

application/x-www-form-urlencoded,
application/json
multipart/form-data
text/plain

其他的均不常见。

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-05-07
  • 2022-12-23
  • 2021-05-27
  • 2021-12-13
  • 2022-02-20
  • 2021-05-22
  • 2021-12-24
猜你喜欢
  • 2021-12-29
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
相关资源
相似解决方案