Content-Length
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
HTTP Content-Length 标头表示发送给接收方的消息体的大小(以字节为单位)。
| 标头类型 | 请求标头、响应标头、内容标头 |
|---|---|
| 禁止修改的标头 | 是 |
| 列入 CORS 白名单的响应标头 | 是 |