Content-Length

The Content-Length entity header is indicating the size of the entity-body, in decimal number of octets, sent to the recipient.

Header type Entity header
Forbidden header name yes

Syntax

Content-Length: <length>

Directives

<length>
The length in decimal number of octets.

Specifications

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

Browser compatibility

FeatureChromeFirefoxEdgeInternet ExplorerOperaSafari
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)
FeatureAndroidChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)

See also

Document Tags and Contributors

 Contributors to this page: fscholz
 Last updated by: fscholz,