--- title: Content-Range slug: Web/HTTP/Headers/Content-Range tags: - 响应首部 - 超文本传输协议 - 首部 translation_of: Web/HTTP/Headers/Content-Range ---
在HTTP协议中,响应首部 Content-Range
显示的是一个数据片段在整个文件中的位置。
Header type | {{Glossary("Response header")}} |
---|---|
{{Glossary("Forbidden header name")}} | no |
{{Glossary("Simple response header", "CORS-safelisted response-header")}} | no |
Content-Range: <unit> <range-start>-<range-end>/<size> Content-Range: <unit> <range-start>-<range-end>/* Content-Range: <unit> */<size>
Content-Range: bytes 200-1000/67589
Specification | Title |
---|---|
{{RFC("7233", "Content-Range", "4.2")}} | Hypertext Transfer Protocol (HTTP/1.1): Range Requests |
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
{{Compat("http.headers.Content-Range")}}
Partial Content
Range Not Satisfiable