aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/status/506/index.html
blob: ecb244fa9460debd68ba7317ff69eda3e76dcd59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: 506 Variant Also Negotiates
slug: Web/HTTP/Status/506
tags:
  - HTTP
  - 服务器错误
  - 状态码
translation_of: Web/HTTP/Status/506
---
<div>{{HTTPSidebar}}</div>

<p>HTTP协议的 <code><strong>506 Variant Also Negotiates</strong></code> 响应状态码 可以在TCN(透明内容协商,见RF2295)上下文给出。TCN协议允许客户端取回给定资源的最佳变量/变元,这里服务器支持多个变量/变元。</p>

<p>506码表示内部服务器配置错误,其中所选变量/变元自身被配置为参与内容协商,因此并不是合适的协商端点。</p>

<h2 id="Status">Status</h2>

<pre class="syntaxbox">506 Variant Also Negotiates</pre>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <tr>
   <td>{{RFC("2295", "506 Variant Also Negotiates" , "8.1")}}</td>
   <td>Transparent Content Negotiation in HTTP</td>
  </tr>
 </tbody>
</table>