aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/http/status/451/index.html
blob: 3e87c15915f06e1de1df341881da902ecc1c963e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: 451 Unavailable For Legal Reasons
slug: Web/HTTP/Status/451
translation_of: Web/HTTP/Status/451
---
<p>{{HTTPSidebar}}</p>

<p>O código de erro HTTP para o cliente <code><strong>451 Unavailable For Legal Reasons</strong></code> indica que o recurso solicitado pelo usuário não está disponível por motivos legais, como em uma página web para a qual foi emitida uma ação legal.</p>

<h2 id="Status">Status</h2>

<pre class="syntaxbox">451 Unavailable For Legal Reasons</pre>

<h2 id="Exemplo">Exemplo</h2>

<p>Este exemplo de resposta foi obtida da RFC do IETF (veja abaixo) e contém uma referência à {{interwiki("wikipedia", "Monty_Python's_Life_of_Brian", "Monty Python's Life of Brian")}}.</p>

<p><strong>Nota:</strong> o cabeçalho {{HTTPHeader("Link")}} também pode conter uma relação <code>rel="blocked-by"</code> identificando a entidade que solicitou o bloqueio, e não qualquer outra entidade.</p>

<p>Qualquer identificação da entidade responsável pela não disponibilidade do recurso, como o nome da pessoa ou organização que demandou a ação legal que resultou na remoção do conteúdo, deve estar no corpo da resposta, não no link <code>rel="blocked-by"</code>.</p>

<pre>HTTP/1.1 451 Unavailable For Legal Reasons
Link: &lt;https://spqr.example.org/legislatione&gt;; rel="blocked-by"
Content-Type: text/html</pre>

<pre>&lt;html&gt;
      &lt;head&gt;&lt;title&gt;Unavailable For Legal Reasons&lt;/title&gt;&lt;/head&gt;
      &lt;body&gt;
            &lt;h1&gt;Unavailable For Legal Reasons&lt;/h1&gt;
            &lt;p&gt;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
            operated by the People's Front of Judea.&lt;/p&gt;
     &lt;/body&gt;
&lt;/html&gt;</pre>

<h2 id="Especificações">Especificações</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Epecificação</th>
   <th scope="col">Título</th>
  </tr>
  <tr>
   <td>{{RFC("7725", "451 Unavailable For Legal Reasons")}}</td>
   <td>An HTTP Status Code to Report Legal Obstacles</td>
  </tr>
 </tbody>
</table>

<h2 id="Compatibilidade_de_navegadores">Compatibilidade de navegadores</h2>

<p>A informação exibida acima está sendo servida do MDN's GitHub (<a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>).</p>

<p>{{Compat("http.status.451")}}</p>

<h2 id="Veja_também">Veja também</h2>

<ul>
 <li>{{interwiki("wikipedia", "HTTP_451", "Wikipedia: HTTP 451")}}</li>
 <li>{{interwiki("wikipedia", "Fahrenheit_451", "Wikipedia: Fahrenheit 451")}} (which gave this status code its number)</li>
</ul>