aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/status/300/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/http/status/300/index.html')
-rw-r--r--files/zh-cn/web/http/status/300/index.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/files/zh-cn/web/http/status/300/index.html b/files/zh-cn/web/http/status/300/index.html
new file mode 100644
index 0000000000..16a72ecf23
--- /dev/null
+++ b/files/zh-cn/web/http/status/300/index.html
@@ -0,0 +1,43 @@
+---
+title: 300 Multiple Choices
+slug: Web/HTTP/Status/300
+tags:
+ - 状态码
+translation_of: Web/HTTP/Status/300
+---
+<div>{{HTTPSidebar}}</div>
+
+<p><code><strong>300 Multiple Choices</strong></code> 是一个用来表示重定向的响应状态码,表示该请求拥有多种可能的响应。用户代理或者用户自身应该从中选择一个。由于没有如何进行选择的标准方法,这个状态码极少使用。</p>
+
+<p>假如服务器可以提供一个优先选择,那么它应该生成一个  {{HTTPHeader("Location")}} 首部。</p>
+
+<h2 id="状态">状态</h2>
+
+<pre class="syntaxbox">300 Multiple Choices</pre>
+
+<h2 id="示例">示例</h2>
+
+<p>参考这个页面: <a href="https://www.w3.org/Style/Examples/007/figures.ht">w3.org page for a Multiple Choice response</a>.</p>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Title</th>
+ </tr>
+ <tr>
+ <td>{{RFC("7231", "300 Multiple Choices" , "6.4.1")}}</td>
+ <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="相关内容">相关内容</h2>
+
+<ul>
+ <li>{{HTTPStatus("301")}} <code>Moved Permanently</code></li>
+ <li>{{HTTPStatus("302")}} <code>Found</code>, the temporary redirect</li>
+ <li>{{HTTPStatus("308")}} <code>Permanent Redirect</code></li>
+</ul>