The Content-Length
entity header indicates the size of the entity-body, in bytes, sent to the recipient.
Header type | Entity header |
---|---|
Forbidden header name | yes |
Content-Length: <length>
Specification | Title |
---|---|
RFC 7230, section 3.3.2: Content-Length | Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | Yes | Yes | Yes | Yes | Yes | Yes |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
© 2005–2018 Mozilla Developer Network and individual 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