Content-Length

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.

Content-Length 헤더는 수신자에게 전송되는 메시지 본문의 크기(바이트)를 나타냅니다.

헤더 타입 요청 헤더, 응답 헤더, Payload header
금지된 헤더 이름
CORS-safelisted response header

구문

http
Content-Length: <length>

지시어

<length>

8진수에 대한 십진수 단위의 길이.

명세서

Specification
HTTP Semantics
# field.content-length

브라우저 호환성

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Content-Length
CORS-safelisted response header

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

같이 보기