这是抓取的一个http包的部分截图
什么是content-type

在该截图中的content-type字段显示的是:application/json

那什么是content-type呢?

Content-Type(内容类型),一般是指网页中存在的 Content-Type,用于定义网络文件的类型和网页的编码,决定浏览器将以什么形式、什么编码读取这个文件,这就是经常看到一些 PHP 网页点击的结果却是下载一个文件或一张图片的原因。
Content-Type 字段告诉客户端实际返回的内容的内容类型。

语法格式
什么是content-type

HTTP content-type 对照表
什么是content-type
什么是content-type
什么是content-type
什么是content-type
什么是content-type
什么是content-type
什么是content-type
什么是content-type
什么是content-type
什么是content-type

相关文章: