diff options
author | MDN <actions@users.noreply.github.com> | 2022-03-17 00:12:44 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2022-03-17 00:12:45 +0000 |
commit | 4f4d511f3a78d7e3dc357e44481cf0a7eba99b9f (patch) | |
tree | 28270b34d9322e7f596cb231ff2b686caa651d4b /files/pt-br/conflicting | |
parent | 59bf61868acae62ff8d28f32f7c74008997646d5 (diff) | |
download | translated-content-4f4d511f3a78d7e3dc357e44481cf0a7eba99b9f.tar.gz translated-content-4f4d511f3a78d7e3dc357e44481cf0a7eba99b9f.tar.bz2 translated-content-4f4d511f3a78d7e3dc357e44481cf0a7eba99b9f.zip |
[CRON] sync translated content
Diffstat (limited to 'files/pt-br/conflicting')
-rw-r--r-- | files/pt-br/conflicting/web/http/headers/cookie/index.html | 59 | ||||
-rw-r--r-- | files/pt-br/conflicting/web/http/headers/set-cookie/index.html | 74 |
2 files changed, 133 insertions, 0 deletions
diff --git a/files/pt-br/conflicting/web/http/headers/cookie/index.html b/files/pt-br/conflicting/web/http/headers/cookie/index.html new file mode 100644 index 0000000000..6d33e9afac --- /dev/null +++ b/files/pt-br/conflicting/web/http/headers/cookie/index.html @@ -0,0 +1,59 @@ +--- +title: Cookie2 +slug: conflicting/Web/HTTP/Headers/Cookie +tags: + - Cabeçalho de requisição + - HTTP + - Obsoleto + - Referencia + - cabeçalho + - requisição +translation_of: Web/HTTP/Headers/Cookie2 +original_slug: Web/HTTP/Headers/Cookie2 +--- +<div>{{HTTPSidebar}} {{obsolete_header}}</div> + +<p>O obsoleto cabeçalho de requisição HTTP <strong><code>Cookie2</code></strong> costumava aconselhar o servidor que o agente de usuário entende <em>cookies</em> de "novo estilo", mas atualmente os agentes de usuário vão usar o cabeçalho {{HTTPHeader("Cookie")}} ao invés disso, não este.</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="Exemplos">Exemplos</h2> + +<pre>Cookie2: $Version="1"</pre> + +<h2 id="Especificações">Especificações</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Especificação</th> + <th scope="col">Título</th> + </tr> + <tr> + <td>{{RFC("2965", "Cookie2")}}</td> + <td>Especificação histórica do HTTP State Management Mechanism, obsoleta pela {{RFC("6265")}}</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility">Compatibilidade com navegadores</h2> + +<p>{{Compat("http.headers.Cookie2")}}</p> + +<h2 id="Veja_também">Veja também</h2> + +<ul> + <li>{{HTTPHeader("Cookie")}}</li> + <li>{{domxref("Document.cookie")}}</li> +</ul> diff --git a/files/pt-br/conflicting/web/http/headers/set-cookie/index.html b/files/pt-br/conflicting/web/http/headers/set-cookie/index.html new file mode 100644 index 0000000000..4bde79adc9 --- /dev/null +++ b/files/pt-br/conflicting/web/http/headers/set-cookie/index.html @@ -0,0 +1,74 @@ +--- +title: Set-Cookie2 +slug: conflicting/Web/HTTP/Headers/Set-Cookie +tags: + - Cookies + - HTTP + - Obsoleto + - Referencia + - cabeçalho +translation_of: Web/HTTP/Headers/Set-Cookie2 +original_slug: Web/HTTP/Headers/Set-Cookie2 +--- +<div>{{HTTPSidebar}} {{obsolete_header}}</div> + +<p>O obsoleto cabeçalho de resposta HTTP <strong><code>Set-Cookie2</code></strong> usado para enviar <em>cookies</em> do servidor para o agente de usuário, mas ele foi depreciado por especificação. Use {{HTTPHeader("Set-Cookie")}} ao invés disso.</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>não</td> + </tr> + </tbody> +</table> + +<h2 id="Sintaxe">Sintaxe</h2> + +<pre class="syntaxbox notranslate">Set-Cookie2: <cookie-name>=<cookie-value> +Set-Cookie2: <cookie-name>=<cookie-value>; Comment=<value> +Set-Cookie2: <cookie-name>=<cookie-value>; CommentURL=<http-url> +Set-Cookie2: <cookie-name>=<cookie-value>; Discard +Set-Cookie2: <cookie-name>=<cookie-value>; Domain=<domain-value> +Set-Cookie2: <cookie-name>=<cookie-value>; Max-Age=<non-zero-digit> +Set-Cookie2: <cookie-name>=<cookie-value>; Path=<path-value> +Set-Cookie2: <cookie-name>=<cookie-value>; Port=<port-number> +Set-Cookie2: <cookie-name>=<cookie-value>; Secure +Set-Cookie2: <cookie-name>=<cookie-value>; Version=<version-number> + +// Múltiplas diretivas também são possíveis, por exemplo: +Set-Cookie2: <cookie-name>=<cookie-value>; Domain=<domain-value>; Secure + +// Múltiplos cookies são separados por vírgula +Set-Cookie2: <cookie-name>=<cookie-value>, <cookie-name>=<cookie-value>, ... +</pre> + +<h2 id="Especificações">Especificações</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Especificação</th> + <th scope="col">Título</th> + </tr> + <tr> + <td>{{RFC("2965", "Set-Cookie2")}}</td> + <td>Especificação histórica do Mecanismo de Gerenciamento de Estado do HTTP, obsoleto por {{RFC("6265")}} (<em>Historic specification of HTTP State Management Mechanism, obsoleted by</em> {{RFC("6265")}})</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility">Compatibilidade com navegadores</h2> + +<p>{{Compat("http.headers.Set-Cookie2")}}</p> + +<h2 id="Veja_também">Veja também</h2> + +<ul> + <li>{{HTTPHeader("Set-Cookie")}}</li> + <li>{{domxref("Document.cookie")}}</li> +</ul> |