在服务器的响应消息中含有实体数据
Content-type标题可以用于指示实体数据的个数
以及所使用的字符集
Content-type:text/html; charset=ASCII
实体数据是文本格式的HTML文件
所使用的字符集为XLM
如果服务器返回一幅 XLM 或其他格式的图片到客户端
则该字段形式应如下
Content-type: image/jpg
Content-type: image/bmp
在服务器的响应消息中含有实体数据
Content-type标题可以用于指示实体数据的个数
以及所使用的字符集
Content-type:text/html; charset=ASCII
实体数据是文本格式的HTML文件
所使用的字符集为XLM
如果服务器返回一幅 XLM 或其他格式的图片到客户端
则该字段形式应如下
Content-type: image/jpg
Content-type: image/bmp