aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/glossary/header/index.html
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
commit310fd066e91f454b990372ffa30e803cc8120975 (patch)
treed5d900deb656a5da18e0b60d00f0db73f3a2e88e /files/zh-cn/glossary/header/index.html
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.gz
translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.bz2
translated-content-310fd066e91f454b990372ffa30e803cc8120975.zip
unslug zh-cn: move
Diffstat (limited to 'files/zh-cn/glossary/header/index.html')
-rw-r--r--files/zh-cn/glossary/header/index.html76
1 files changed, 0 insertions, 76 deletions
diff --git a/files/zh-cn/glossary/header/index.html b/files/zh-cn/glossary/header/index.html
deleted file mode 100644
index a79ef62498..0000000000
--- a/files/zh-cn/glossary/header/index.html
+++ /dev/null
@@ -1,76 +0,0 @@
----
-title: HTTP header(HTTP 首部)
-slug: Glossary/Header
-tags:
- - Glossary
- - HTTP
- - 术语
-translation_of: Glossary/HTTP_header
----
-<p><strong>HTTP header</strong>(HTTP 首部,HTTP 头)表示在 HTTP 请求或响应中的用来传递附加信息的字段,修改所传递的消息(或者消息主体)的语义,或者使其更加精确。消息首部不区分大小写,开始于一行的开头,后面紧跟着一个 <code>':'</code> 和与之相关的值。字段值在一个换行符(CRLF)前或者整个消息的末尾结束。</p>
-
-<p>按照惯例,可以把消息首部分为几类,尽管这种划分不存在于任何一份规范文档中:</p>
-
-<ul>
- <li>{{Glossary("General header")}}:可以应用于请求和响应中,但是与在消息主体中的数据无关。</li>
- <li>{{Glossary("Request header")}}:含有与所要获取的资源或者客户端自身相关的附加信息。</li>
- <li>{{Glossary("Response header")}}:含有与响应相关的附加信息,比如它的位置或者与服务器相关的信息(名称、版本号等)。</li>
- <li>{{Glossary("Entity header")}}: 含有与消息主体相关的附加信息,比如长度或者MIME类型。</li>
-</ul>
-
-<p>一个仅包含一个首部的请求:</p>
-
-<pre>GET /example.http HTTP/1.1
-Host: example.com
-</pre>
-
-<p>重定向请求中必须包含 ({{HTTPHeader("Location")}}) 首部:</p>
-
-<pre>302 Found
-Location: /NewPage.html
-</pre>
-
-<p>一些典型的首部:</p>
-
-<pre>304 Not Modified
-Access-Control-Allow-Origin: *
-Age: 2318192
-Cache-Control: public, max-age=315360000
-Connection: keep-alive
-Date: Mon, 18 Jul 2016 16:06:00 GMT
-Server: Apache
-Vary: Accept-Encoding
-Via: 1.1 3dc30c7222755f86e824b93feb8b5b8c.cloudfront.net (CloudFront)
-X-Amz-Cf-Id: TOl0FEm6uI4fgLdrKJx0Vao5hpkKGZULYN2TWD2gAWLtr7vlNjTvZw==
-X-Backend-Server: developer6.webapp.scl3.mozilla.com
-X-Cache: Hit from cloudfront
-X-Cache-Info: cached
-</pre>
-
-<section class="Quick_links" id="Quick_Links">
-<ol>
- <li>规范
- <ol>
- <li>Syntax of <a href="https://tools.ietf.org/html/rfc7230#section-3.2">headers</a> in the HTTP specification.</li>
- </ol>
- </li>
- <li>技术参考
- <ol>
- <li><a href="/zh-CN/docs/Web/HTTP/Headers">HTTP 首部列表</a></li>
- </ol>
- </li>
- <li><a href="/zh-CN/docs/Glossary">术语</a>
- <ol>
- <li>{{Glossary("HTTP header")}}</li>
- <li>{{Glossary("General header")}}</li>
- <li>{{Glossary("Request header")}}</li>
- <li>{{Glossary("Response header")}}</li>
- <li>{{Glossary("Entity header")}}</li>
- <li>{{Glossary("Forbidden header name")}}</li>
- <li>{{Glossary("Forbidden response header name")}}</li>
- <li>{{Glossary("CORS-safelisted request header")}}</li>
- <li>{{Glossary("CORS-safelisted response header")}}</li>
- </ol>
- </li>
-</ol>
-</section>