Content-Length header

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

Der HTTP-Content-Length-Header gibt die Größe des Nachrichtenkörpers in Bytes an, der an den Empfänger gesendet wird.

Header-Typ Request header, Response header, Content header
Verbotener Anforderungsheader Ja
CORS-gelisteter Antwortheader Ja

Syntax

http
Content-Length: <length>

Direktiven

<length>

Die Länge in Oktetten.

Spezifikationen

Specification
HTTP Semantics
# field.content-length

Browser-Kompatibilität

Siehe auch