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/zh-cn/web/http | |
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/zh-cn/web/http')
-rw-r--r-- | files/zh-cn/web/http/headers/cookie2/index.html | 55 | ||||
-rw-r--r-- | files/zh-cn/web/http/headers/set-cookie2/index.html | 70 |
2 files changed, 0 insertions, 125 deletions
diff --git a/files/zh-cn/web/http/headers/cookie2/index.html b/files/zh-cn/web/http/headers/cookie2/index.html deleted file mode 100644 index 24699b5103..0000000000 --- a/files/zh-cn/web/http/headers/cookie2/index.html +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: Cookie2 -slug: Web/HTTP/Headers/Cookie2 -tags: - - 废弃 - - 请求首部 - - 首部 -translation_of: Web/HTTP/Headers/Cookie2 ---- -<div>{{HTTPSidebar}} {{obsolete_header}}</div> - -<p>这个已经被废弃的 <strong><code>Cookie2</code></strong> 请求首部曾经被用来告知浏览器该用户代理支持“新型” cookies,但是现代的用户代理一般使用 {{HTTPHeader("Cookie")}} 来替代 Cookie2<strong>。</strong></p> - -<table class="properties"> - <tbody> - <tr> - <th scope="row">Header type</th> - <td>{{Glossary("Request header")}}</td> - </tr> - <tr> - <th scope="row">{{Glossary("Forbidden header name")}}</th> - <td>yes</td> - </tr> - </tbody> -</table> - -<h2 id="示例">示例</h2> - -<pre>Cookie2: $Version="1"</pre> - -<h2 id="规范">规范</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Title</th> - </tr> - <tr> - <td>{{RFC("2965", "Cookie2")}}</td> - <td>Historic specification of HTTP State Management Mechanism, obsoleted by {{RFC("6265")}}</td> - </tr> - </tbody> -</table> - -<h2 id="浏览器兼容性">浏览器兼容性</h2> - -<p>{{Compat("http.headers.Cookie2")}}</p> - -<h2 id="相关内容">相关内容</h2> - -<ul> - <li>{{HTTPHeader("Cookie")}}</li> - <li>{{domxref("Document.cookie")}}</li> -</ul> diff --git a/files/zh-cn/web/http/headers/set-cookie2/index.html b/files/zh-cn/web/http/headers/set-cookie2/index.html deleted file mode 100644 index 117497bd4b..0000000000 --- a/files/zh-cn/web/http/headers/set-cookie2/index.html +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: Set-Cookie2 -slug: Web/HTTP/Headers/Set-Cookie2 -tags: - - 废止 - - 首部 -translation_of: Web/HTTP/Headers/Set-Cookie2 ---- -<div>{{HTTPSidebar}} {{obsolete_header}}</div> - -<p><strong><code>Set-Cookie2</code></strong> 是一个响应首部,已废弃使用。它被服务器用来向客户端发送 cookie 数据,但是已经在协议中被标记为不赞成使用了。请使用 {{HTTPHeader("Set-Cookie")}} 将其代替。</p> - -<table class="properties"> - <tbody> - <tr> - <th scope="row">Header type</th> - <td>{{Glossary("Response header")}}</td> - </tr> - <tr> - <th scope="row">{{Glossary("Forbidden header name")}}</th> - <td>no</td> - </tr> - </tbody> -</table> - -<h2 id="语法">语法</h2> - -<pre class="syntaxbox">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> - -// Multiple directives are also possible, for example: -Set-Cookie2: <cookie-name>=<cookie-value>; Domain=<domain-value>; Secure - -// Multiple cookies are seperated by a comma -Set-Cookie2: <cookie-name>=<cookie-value>, <cookie-name>=<cookie-value>, ... -</pre> - -<h2 id="规范">规范</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Title</th> - </tr> - <tr> - <td>{{RFC("2965", "Set-Cookie2")}}</td> - <td>Historic specification of HTTP State Management Mechanism, obsoleted by {{RFC("6265")}}</td> - </tr> - </tbody> -</table> - -<h2 id="浏览器兼容性">浏览器兼容性</h2> - -<p>{{Compat("http.headers.Set-Cookie2")}}</p> - -<h2 id="相关内容">相关内容</h2> - -<ul> - <li>{{HTTPHeader("Set-Cookie")}}</li> - <li>{{domxref("Document.cookie")}}</li> -</ul> |