示例

这个响应示例来自 IETF RFC 规范(见下文),其中提到了英国戏剧电影 (《蒙提·派森之布莱恩的一生》)。

  1. HTTP/1.1 451 Unavailable For Legal Reasons
  2. Link: <https://spqr.example.org/legislatione>; rel="blocked-by"
  3.  
  4. <html>
  5. <head><title>Unavailable For Legal Reasons</title></head>
  6. <body>
  7. <h1>Unavailable For Legal Reasons</h1>
  8. <p>This request may not be serviced in the Roman Province
  9. of Judea due to the Lex Julia Majestatis, which disallows
  10. access to resources hosted on servers deemed to be
  11. </body>
  12. </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.

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
ChromeFull support YesEdgeFull support YesFirefoxFull support YesIEFull support YesOperaFull support YesSafariFull support YesWebView AndroidFull support YesChrome AndroidFull support YesEdge MobileFull support YesFirefox AndroidFull support YesOpera AndroidFull support YesSafari iOSFull support YesSamsung Internet AndroidFull support Yes
  • Full support
  • Full support

文档标签和贡献者

标签:

451 Unavailable For Legal Reasons - 图1最后编辑者:mdnwebdocs-bot, Mar 23, 2019, 6:10:19 PM