aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/http/headers/accept-ch
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-br/web/http/headers/accept-ch
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/pt-br/web/http/headers/accept-ch')
-rw-r--r--files/pt-br/web/http/headers/accept-ch/index.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/files/pt-br/web/http/headers/accept-ch/index.html b/files/pt-br/web/http/headers/accept-ch/index.html
new file mode 100644
index 0000000000..9c87a5e426
--- /dev/null
+++ b/files/pt-br/web/http/headers/accept-ch/index.html
@@ -0,0 +1,60 @@
+---
+title: Accept-CH
+slug: Web/HTTP/Headers/Accept-CH
+tags:
+ - Client hints
+ - Dicas do Cliente
+ - HTTP
+ - HTTP Header
+translation_of: Web/HTTP/Headers/Accept-CH
+---
+<div>{{HTTPSidebar}}{{securecontext_header}}{{SeeCompatTable}}</div>
+
+<p>O cabeçalho <code><strong>Accept-CH</strong></code> é colocado pelo servidor para especificar quais cabeçalhos <a href="/en-US/docs/Glossary/Client_hints">Client Hints</a> o cliente deve incluir nas requisições subsequentes.</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">Tipo de cabeçalho</th>
+ <td>{{Glossary("Response header")}}</td>
+ </tr>
+ <tr>
+ <th scope="row">{{Glossary("Forbidden header name")}}</th>
+ <td>?</td>
+ </tr>
+ </tbody>
+</table>
+
+<div class="blockIndicator note">
+<p><strong>Nota:</strong> Client Hints são acessíveis somente em origens seguras (via TLS). Os cabeçalhos Accept-CH e Accept-CH-Lifetime devem ser persistidos por todas as requisições seguras para assegurar que os Client Hints são enviados com segurança.</p>
+</div>
+
+<h2 id="Sintaxe">Sintaxe</h2>
+
+<pre class="syntaxbox">Accept-CH: &lt;lista de client hints&gt;
+</pre>
+
+<h2 id="Exemplos">Exemplos</h2>
+
+<pre>Accept-CH: DPR, Viewport-Width
+Accept-CH: Width
+Accept-CH-Lifetime: 86400
+Vary: DPR, Viewport-Width, Width
+</pre>
+
+<div class="blockIndicator note">
+<p><strong>Nota:</strong> Lembre de <a href="https://developer.mozilla.org/en-US/docs/Glossary/Client_hints#Varying_Client_Hints">variar a resposta</a> baseado nos client hints aceitos.</p>
+</div>
+
+<h2 id="Compatibilidade_de_navegador">Compatibilidade de navegador</h2>
+
+<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
+
+<p>{{Compat("http.headers.Accept-CH")}}</p>
+
+<h2 id="Veja_também">Veja também</h2>
+
+<ul>
+ <li>{{HTTPHeader("Accept-CH-Lifetime")}}</li>
+ <li>{{HTTPHeader("Vary")}}</li>
+</ul>