aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/headers
diff options
context:
space:
mode:
authorTanner Dolby <tannercdolby@gmail.com>2022-02-22 01:49:36 -0800
committerGitHub <noreply@github.com>2022-02-22 17:49:36 +0800
commit6e9fe98036090a37cc6247b873845505e5b512fb (patch)
tree5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/web/http/headers
parent70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff)
downloadtranslated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng <julien.gattelier@gmail.com> Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/web/http/headers')
-rw-r--r--files/zh-cn/web/http/headers/content-disposition/index.html2
-rw-r--r--files/zh-cn/web/http/headers/set-cookie/samesite/index.html2
-rw-r--r--files/zh-cn/web/http/headers/user-agent/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/http/headers/content-disposition/index.html b/files/zh-cn/web/http/headers/content-disposition/index.html
index 57815814bf..890905db52 100644
--- a/files/zh-cn/web/http/headers/content-disposition/index.html
+++ b/files/zh-cn/web/http/headers/content-disposition/index.html
@@ -12,7 +12,7 @@ translation_of: Web/HTTP/Headers/Content-Disposition
<div>在常规的 HTTP 应答中,<code><strong>Content-Disposition</strong></code> 响应头指示回复的内容该以何种形式展示,是以<strong>内联</strong>的形式(即网页或者页面的一部分),还是以<strong>附件</strong>的形式下载并保存到本地。</div>
-<div></div>
+
<p>在 multipart/form-data 类型的应答消息体中,<strong><code>Content-Disposition</code></strong> 消息头可以被用在 multipart 消息体的子部分中,用来给出其对应字段的相关信息。各个子部分由在{{HTTPHeader("Content-Type")}} 中定义的<strong>分隔符</strong>分隔。用在消息体自身则无实际意义。</p>
diff --git a/files/zh-cn/web/http/headers/set-cookie/samesite/index.html b/files/zh-cn/web/http/headers/set-cookie/samesite/index.html
index ca24138993..5ff14ebc54 100644
--- a/files/zh-cn/web/http/headers/set-cookie/samesite/index.html
+++ b/files/zh-cn/web/http/headers/set-cookie/samesite/index.html
@@ -3,7 +3,7 @@ title: SameSite cookies
slug: Web/HTTP/Headers/Set-Cookie/SameSite
translation_of: Web/HTTP/Headers/Set-Cookie/SameSite
---
-<div></div>
+
<p><strong><code>SameSite</code></strong> 是HTTP响应头 <span class="seoSummary">{{HTTPHeader("Set-Cookie")}}</span> 的属性之一。它允许您声明该Cookie是否仅限于第一方或者同一站点上下文。</p>
diff --git a/files/zh-cn/web/http/headers/user-agent/index.html b/files/zh-cn/web/http/headers/user-agent/index.html
index 7645fbf643..263a3856aa 100644
--- a/files/zh-cn/web/http/headers/user-agent/index.html
+++ b/files/zh-cn/web/http/headers/user-agent/index.html
@@ -11,7 +11,7 @@ translation_of: Web/HTTP/Headers/User-Agent
---
<div>{{HTTPSidebar}}</div>
-<div></div>
+
<p><strong>User-Agent</strong> 首部包含了一个特征字符串,用来让网络协议的对端来识别发起请求的用户代理软件的应用类型、操作系统、软件开发商以及版本号。</p>