Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

406 Not Acceptable

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

The HTTP 406 Not Acceptable client error response code indicates that a response matching the list of acceptable values defined in Accept-Charset and Accept-Language cannot be served.

In reality, this error is very rarely used: instead of responding using this error code that will be cryptic for the end user (and difficult to fix), servers ignore the relevant header and serve an actual page to the user. It is assumed that even if the user won't be completely happy, it will prefer this to an error code.

If a server returns such an error status, the body of the message should contain the list of the available representations of the resources, allowing to manually choose among them.

Status

406 Not Acceptable

Specifications

Specification Title
RFC 7231, section 6.5.6: 406 Not Acceptable Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

Browser compatibility

Feature Chrome Edge Firefox Internet Explorer Opera Safari Servo
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)
Feature Android Chrome for Android Edge Mobile Firefox for Android IE Mobile Opera Mobile Safari Mobile
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)

See also

ドキュメントのタグと貢献者

 このページの貢献者: fscholz, teoli
 最終更新者: fscholz,