示例
这个响应示例来自 IETF RFC 规范(见下文),其中提到了英国戏剧电影 (《蒙提·派森之布莱恩的一生》)。
- HTTP/1.1 451 Unavailable For Legal Reasons
- Link: <https://spqr.example.org/legislatione>; rel="blocked-by"
- <html>
- <head><title>Unavailable For Legal Reasons</title></head>
- <body>
- <h1>Unavailable For Legal Reasons</h1>
- <p>This request may not be serviced in the Roman Province
- of Judea due to the Lex Julia Majestatis, which disallows
- access to resources hosted on servers deemed to be
- </body>
- </html>
浏览器兼容性
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.
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 | |
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 |
- Full support
- Full support
- Wikipedia: Fahrenheit 451 (which gave this status code its number)
文档标签和贡献者
标签:
最后编辑者:mdnwebdocs-bot, Mar 23, 2019, 6:10:19 PM