W3cubDocs

/HTTP

Content-Length

Content-Length

The Content-Length header indicates the size of the message body, in bytes, sent to the recipient.

Syntax

Content-Length: <length>

Directives

<length>

The length in decimal number of octets.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
Content-Length
Yes
12
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
cors_response_safelist
76
≤79
87
No
63
12.1
76
76
87
54
12.2
12.0

See also

© 2005–2022 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length