Movatterモバイル変換


[0]ホーム

URL:


  1. 개발자를 위한 웹 기술
  2. HTTP
  3. Reference
  4. HTTP 헤더
  5. Content-Range

This page was translated from English by the community.Learn more and join the MDN Web Docs community.

View in EnglishAlways switch to English

Content-Range

Baseline Widely available

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

Content-Range HTTP 응답 헤더는 전체 바디 메시지에서 부분 메시지가 속한 위치를 알려줍니다.

헤더 타입Response header,Payload header
금지된 헤더 이름아니오
CORS-safelisted response-header아니오
CORS-safelisted response-header아니오

문법

http
Content-Range: <unit> <range-start>-<range-end>/<size>Content-Range: <unit> <range-start>-<range-end>/*Content-Range: <unit> */<size>

지시자

<unit>

단위는 범위를 지정합니다. 보통bytes를 사용합니다.

<range-start>

범위 요청의 시작을 알려주는 정수 단위.

<range-end>

범위 요청의 끝을 알려주는 정수 단위.

<size>

문서의 총 크기(또는 모른다면'*')

예제

http
Content-Range: bytes 200-1000/67589

명세서

Specification
HTTP Semantics
# field.content-range

브라우저 호환성

함께 참고할 내용

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp