aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/http/headers/cookie
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/cookie
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/cookie')
-rw-r--r--files/pt-br/web/http/headers/cookie/index.html75
1 files changed, 75 insertions, 0 deletions
diff --git a/files/pt-br/web/http/headers/cookie/index.html b/files/pt-br/web/http/headers/cookie/index.html
new file mode 100644
index 0000000000..f768414cb1
--- /dev/null
+++ b/files/pt-br/web/http/headers/cookie/index.html
@@ -0,0 +1,75 @@
+---
+title: Cookie
+slug: Web/HTTP/Headers/Cookie
+tags:
+ - Cabeçalho de requisição
+ - Cookies
+ - HTTP
+ - Referencia
+ - cabeçalho
+ - requisição
+translation_of: Web/HTTP/Headers/Cookie
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>O cabeçalho de requisição HTTP <strong><code>Cookie</code></strong> contém <a href="/en-US/docs/Web/HTTP/Cookies">cookies HTTP</a> armazenados anteriormente que foram enviados pelo servidor com o cabeçalho {{HTTPHeader("Set-Cookie")}}.</p>
+
+<p>O cabeçalho <code>Cookie</code> é opicional e pode ser omitido se, por exemplo, as configurações de privacidade do navegador bloqueiam <em>cookies</em>.</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">Tipo de cabeçalho</th>
+ <td>{{Glossary("Request header")}}</td>
+ </tr>
+ <tr>
+ <th scope="row">{{Glossary("Forbidden header name")}}</th>
+ <td>sim</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Sintaxe">Sintaxe</h2>
+
+<pre class="syntaxbox">Cookie: &lt;cookie-list&gt;
+Cookie: name=value
+Cookie: name=value; name2=value2; name3=value3</pre>
+
+<dl>
+ <dt>&lt;cookie-list&gt;</dt>
+ <dd>Uma lista de pares nome-valor na forma de <code>&lt;cookie-name&gt;=&lt;cookie-value&gt;</code>. Pares na lista são separados por ponto e vírgula e um espaço (<code>'; '</code>).</dd>
+</dl>
+
+<h2 id="Exemplos">Exemplos</h2>
+
+<pre>Cookie: PHPSESSID=298zf09hf012fh2; csrftoken=u32t4o3tb3gg43; _gat=1;</pre>
+
+<h2 id="Especificações">Especificações</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Especificação</th>
+ <th scope="col">Título</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{RFC("6265", "Cookie", "5.4")}}</td>
+ <td>HTTP State Management Mechanism</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Compatibilidade_do_navegador">Compatibilidade do 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.Cookie")}}</p>
+
+<h2 id="Veja_também">Veja também</h2>
+
+<ul>
+ <li>{{HTTPHeader("Set-Cookie")}}</li>
+ <li>{{domxref("Document.cookie")}}</li>
+</ul>