[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ja/docs/Web/HTTP/Reference/Status/506 [Back]  [Original]

506 Variant Also Negotiates - HTTP | MDN

MDN Web Docs

View in English Always switch to English

506 Variant Also Negotiates

HTTP 506 Variant Also Negotiates

506

Accept-LanguageAccept

http
506 Variant Also Negotiates

Accept-Language fr curl

bash
curl  -H "Negotiate: trans" -H "Accept-Language: fr;" http://example.com/index

http
GET /index HTTP/1.1
Host: example.com
User-Agent: curl/8.7.1
Accept: */*
Negotiate: trans
Accept-Language: fr

fr TCN

http
HTTP/1.1 506 Variant Also Negotiates
Date: Mon, 22 Jul 2024 10:00:00 GMT
Server: Apache/2.4.41 (Unix)
Content-Type: text/html; charset=UTF-8
Content-Length: 233
TCN: list
Vary: negotiate,accept-language
Alternates: {"index.html.en" 1 {type text/html} {language en} {length 48}}, {"another-map.html.fr.map" 1 {type text/html} {language fr} {length 45}}}}

<html>
<head>
  <title>506 Variant Also Negotiates</title>
</head>
<body>
  <h1>Variant Also Negotiates</h1>
  <p>A variant for the requested resource is itself a negotiable resource. This indicates a configuration error.</p>
</body>
</html>

RFC 2295
# section-8.1


Web Proxy Viewer  |  New URL  |  Original Page