- 状态
- 协议
- 浏览器兼容性
- Legend
- 更多内容
- 文档标签和贡献者
HTTP 416
Range Not Satisfiable
错误状态码意味着服务器无法处理所请求的数据区间。最常见的情况是所请求的数据区间不在文件范围之内,也就是说,Range
首部的值,虽然从语法上来说是没问题的,但是从语义上来说却没有意义。
416
响应报文包含一个 Content-Range
首部,提示无法满足的数据区间(用星号 表示),后面紧跟着一个“/”,再后面是当前资源的长度。例如:Content-Range: /12777
遇到这一错误状态码时,浏览器一般有两种策略:要么终止操作(例如,一项中断的下载操作被认为是不可恢复的),要么再次请求整个文件。
状态
- 416 Range Not Satisfiable
协议
Specification | Title |
---|---|
RFC 7233, section 4.4: 416 Request Not Satisfiable | 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.
Update compatibility data on GitHub
Desktop | Mobile | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | Safari on iOS | Samsung Internet | |
416 | ChromeFull support Yes | EdgeFull support Yes | FirefoxFull support Yes | IEFull support Yes | OperaFull support Yes | SafariFull support Yes | WebView AndroidFull support Yes | Chrome AndroidFull support Yes | Edge MobileFull support Yes | Firefox AndroidFull support Yes | Opera AndroidFull support Yes | Safari iOSFull support Yes | Samsung Internet AndroidFull support Yes |
Legend
- Full support
- Full support
更多内容
206
Partial Content
Content-Range
Range
文档标签和贡献者
此页面的贡献者:mdnwebdocs-bot, liaozhaonan, WayneCui
最后编辑者:mdnwebdocs-bot,