We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Content-Length 是一个实体消息首部,用来指明发送给接收方的消息主体的大小,即用十进制数字表示的八位元组的数目。

Header type Entity header
Forbidden header name yes

语法

Content-Length: <length>

指令

<length>
消息的长度,用十进制数字表示的八位元组的数目。

规范

Specification Title
RFC 7230, section 3.3.2: Content-Length Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing

浏览器兼容性

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes Yes Yes Yes Yes Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes Yes Yes Yes Yes

相关内容

文档标签和贡献者

此页面的贡献者: WayneCui
最后编辑者: WayneCui,