Content-Length
Content-Length 是一个实体消息首部,用来指明发送给接收方的消息主体的大小,即用十进制数字表示的八位元组的数目。
| Header type | Entity header | 
|---|---|
| Forbidden header name | yes | 
语法
Content-Length: <length>
指令
- <length>
 - 
    
消息的长度,用十进制数字表示的八位字节的数目。
 
规范
| Specification | 
|---|
| HTTP Semantics  # field.content-length  | 
浏览器兼容性
BCD tables only load in the browser