From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/http/status/100/index.html | 46 ++++++++ files/ja/web/http/status/101/index.html | 54 +++++++++ files/ja/web/http/status/103/index.html | 50 ++++++++ files/ja/web/http/status/200/index.html | 54 +++++++++ files/ja/web/http/status/201/index.html | 48 ++++++++ files/ja/web/http/status/202/index.html | 37 ++++++ files/ja/web/http/status/203/index.html | 46 ++++++++ files/ja/web/http/status/204/index.html | 46 ++++++++ files/ja/web/http/status/205/index.html | 44 +++++++ files/ja/web/http/status/206/index.html | 86 ++++++++++++++ files/ja/web/http/status/300/index.html | 42 +++++++ files/ja/web/http/status/301/index.html | 63 ++++++++++ files/ja/web/http/status/302/index.html | 52 +++++++++ files/ja/web/http/status/303/index.html | 47 ++++++++ files/ja/web/http/status/304/index.html | 57 +++++++++ files/ja/web/http/status/307/index.html | 53 +++++++++ files/ja/web/http/status/308/index.html | 53 +++++++++ files/ja/web/http/status/400/index.html | 45 +++++++ files/ja/web/http/status/401/index.html | 58 +++++++++ files/ja/web/http/status/402/index.html | 56 +++++++++ files/ja/web/http/status/403/index.html | 56 +++++++++ files/ja/web/http/status/404/index.html | 65 +++++++++++ files/ja/web/http/status/405/index.html | 46 ++++++++ files/ja/web/http/status/406/index.html | 64 ++++++++++ files/ja/web/http/status/407/index.html | 57 +++++++++ files/ja/web/http/status/408/index.html | 48 ++++++++ files/ja/web/http/status/409/index.html | 40 +++++++ files/ja/web/http/status/410/index.html | 55 +++++++++ files/ja/web/http/status/411/index.html | 44 +++++++ files/ja/web/http/status/412/index.html | 71 +++++++++++ files/ja/web/http/status/413/index.html | 42 +++++++ files/ja/web/http/status/414/index.html | 49 ++++++++ files/ja/web/http/status/415/index.html | 43 +++++++ files/ja/web/http/status/416/index.html | 53 +++++++++ files/ja/web/http/status/417/index.html | 41 +++++++ files/ja/web/http/status/418/index.html | 51 ++++++++ files/ja/web/http/status/422/index.html | 39 +++++++ files/ja/web/http/status/425/index.html | 41 +++++++ files/ja/web/http/status/426/index.html | 54 +++++++++ files/ja/web/http/status/428/index.html | 45 +++++++ files/ja/web/http/status/429/index.html | 51 ++++++++ files/ja/web/http/status/431/index.html | 51 ++++++++ files/ja/web/http/status/451/index.html | 72 ++++++++++++ files/ja/web/http/status/500/index.html | 51 ++++++++ files/ja/web/http/status/501/index.html | 54 +++++++++ files/ja/web/http/status/502/index.html | 55 +++++++++ files/ja/web/http/status/503/index.html | 59 ++++++++++ files/ja/web/http/status/504/index.html | 54 +++++++++ files/ja/web/http/status/505/index.html | 38 ++++++ files/ja/web/http/status/506/index.html | 35 ++++++ files/ja/web/http/status/507/index.html | 35 ++++++ files/ja/web/http/status/508/index.html | 38 ++++++ files/ja/web/http/status/510/index.html | 33 ++++++ files/ja/web/http/status/511/index.html | 43 +++++++ files/ja/web/http/status/index.html | 201 ++++++++++++++++++++++++++++++++ 55 files changed, 2911 insertions(+) create mode 100644 files/ja/web/http/status/100/index.html create mode 100644 files/ja/web/http/status/101/index.html create mode 100644 files/ja/web/http/status/103/index.html create mode 100644 files/ja/web/http/status/200/index.html create mode 100644 files/ja/web/http/status/201/index.html create mode 100644 files/ja/web/http/status/202/index.html create mode 100644 files/ja/web/http/status/203/index.html create mode 100644 files/ja/web/http/status/204/index.html create mode 100644 files/ja/web/http/status/205/index.html create mode 100644 files/ja/web/http/status/206/index.html create mode 100644 files/ja/web/http/status/300/index.html create mode 100644 files/ja/web/http/status/301/index.html create mode 100644 files/ja/web/http/status/302/index.html create mode 100644 files/ja/web/http/status/303/index.html create mode 100644 files/ja/web/http/status/304/index.html create mode 100644 files/ja/web/http/status/307/index.html create mode 100644 files/ja/web/http/status/308/index.html create mode 100644 files/ja/web/http/status/400/index.html create mode 100644 files/ja/web/http/status/401/index.html create mode 100644 files/ja/web/http/status/402/index.html create mode 100644 files/ja/web/http/status/403/index.html create mode 100644 files/ja/web/http/status/404/index.html create mode 100644 files/ja/web/http/status/405/index.html create mode 100644 files/ja/web/http/status/406/index.html create mode 100644 files/ja/web/http/status/407/index.html create mode 100644 files/ja/web/http/status/408/index.html create mode 100644 files/ja/web/http/status/409/index.html create mode 100644 files/ja/web/http/status/410/index.html create mode 100644 files/ja/web/http/status/411/index.html create mode 100644 files/ja/web/http/status/412/index.html create mode 100644 files/ja/web/http/status/413/index.html create mode 100644 files/ja/web/http/status/414/index.html create mode 100644 files/ja/web/http/status/415/index.html create mode 100644 files/ja/web/http/status/416/index.html create mode 100644 files/ja/web/http/status/417/index.html create mode 100644 files/ja/web/http/status/418/index.html create mode 100644 files/ja/web/http/status/422/index.html create mode 100644 files/ja/web/http/status/425/index.html create mode 100644 files/ja/web/http/status/426/index.html create mode 100644 files/ja/web/http/status/428/index.html create mode 100644 files/ja/web/http/status/429/index.html create mode 100644 files/ja/web/http/status/431/index.html create mode 100644 files/ja/web/http/status/451/index.html create mode 100644 files/ja/web/http/status/500/index.html create mode 100644 files/ja/web/http/status/501/index.html create mode 100644 files/ja/web/http/status/502/index.html create mode 100644 files/ja/web/http/status/503/index.html create mode 100644 files/ja/web/http/status/504/index.html create mode 100644 files/ja/web/http/status/505/index.html create mode 100644 files/ja/web/http/status/506/index.html create mode 100644 files/ja/web/http/status/507/index.html create mode 100644 files/ja/web/http/status/508/index.html create mode 100644 files/ja/web/http/status/510/index.html create mode 100644 files/ja/web/http/status/511/index.html create mode 100644 files/ja/web/http/status/index.html (limited to 'files/ja/web/http/status') diff --git a/files/ja/web/http/status/100/index.html b/files/ja/web/http/status/100/index.html new file mode 100644 index 0000000000..b4c3fcf98c --- /dev/null +++ b/files/ja/web/http/status/100/index.html @@ -0,0 +1,46 @@ +--- +title: 100 Continue +slug: Web/HTTP/Status/100 +tags: + - HTTP + - Informational + - ステータスコード +translation_of: Web/HTTP/Status/100 +--- +

{{HTTPSidebar}}

+ +

HTTP 100 Continue 情報ステータスレスポンスコードは、これまでのすべてが OK であり、クライアントが要求を続行するか、または要求がすでに終了している場合は無視することを示します。
+
+ サーバーが要求のヘッダーをチェックするようにするには、クライアントは最初の要求でヘッダーとして{{HTTPHeader("Expect")}}: 100-continue を送信し、本文を送信する前にレスポンスとして 100 Continue ステータスコードを受け取ります。

+ +

ステータス

+ +
100 Continue
+ +

仕様

+ + + + + + + + + + + + +
仕様タイトル
{{RFC("7231", "100 Continue" , "6.2.1")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザの実装状況

+ + + +

{{Compat("http.status.100")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/101/index.html b/files/ja/web/http/status/101/index.html new file mode 100644 index 0000000000..17f8a39d5a --- /dev/null +++ b/files/ja/web/http/status/101/index.html @@ -0,0 +1,54 @@ +--- +title: 101 Switching Protocols +slug: Web/HTTP/Status/101 +tags: + - HTTP + - HTTP ステータスコード + - WebSocket + - リファレンス + - 情報 +translation_of: Web/HTTP/Status/101 +--- +
{{HTTPSidebar}}
+ +

HTTP の 101 Switching Protocols レスポンスコードは、 {{HTTPHeader("Upgrade")}} リクエストヘッダーを含むメッセージが送られたクライアントが要求する際に、サーバーが切り替えようとしているプロトコルを示します。

+ +

サーバーはこのレスポンスに {{HTTPHeader("Upgrade")}} レスポンスヘッダーを含めて、切り替え先のプロトコルを示します。手順はプロトコル更新メカニズムの記事で詳細に説明しています。

+ +

状態

+ +
101 Switching Protocols
+ +

+ +

切り替えるプロトコルで WebSockets が使用される場合です。

+ +
HTTP/1.1 101 Switching Protocols
+Upgrade: websocket
+Connection: Upgrade
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "101 Switching Protocol" , "6.2.2")}}Hypertext Transfer Protocol (HTTP/1.1):セマンティクスとコンテンツ
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/103/index.html b/files/ja/web/http/status/103/index.html new file mode 100644 index 0000000000..288e428c3d --- /dev/null +++ b/files/ja/web/http/status/103/index.html @@ -0,0 +1,50 @@ +--- +title: 103 Early Hints +slug: Web/HTTP/Status/103 +tags: + - Draft + - HTTP + - Informational + - NeedsCompatTable + - NeedsContent + - Status code +translation_of: Web/HTTP/Status/103 +--- +

{{HTTPSidebar}}{{Draft}}

+ +

HTTP 103 Early Hints インフォメーションレスポンスステータスコードは、主に {{HTTPHeader("Link")}} ヘッダーと共に使用され、サーバーがまだレスポンスを準備している間にユーザーエージェントがリソースのプリロードを開始できるようにすることを目的としています。

+ +

構文

+ +
103 Early Hints
+ +

仕様

+ + + + + + + + + + + + + + + + +
仕様書ステータスコメント
{{RFC(8297, "103 Early Hints")}}IETF RFC初期定義
+ +

ブラウザーの実装状況

+ + + +

{{Compat("http.status.103")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/200/index.html b/files/ja/web/http/status/200/index.html new file mode 100644 index 0000000000..c11c164097 --- /dev/null +++ b/files/ja/web/http/status/200/index.html @@ -0,0 +1,54 @@ +--- +title: 200 OK +slug: Web/HTTP/Status/200 +tags: + - HTTP + - HTTP ステータスコード + - 成功 +translation_of: Web/HTTP/Status/200 +--- +
{{HTTPSidebar}}
+ +

HTTP 200 OK はリクエストが成功した場合に返すレスポンスコード。200のレスポンスはデフォルトでキャッシュしてよい。

+ +

成功したという意味はリクエストのメソッドによって異なる:

+ + + +

{{HTTPMethod("PUT")}} や {{HTTPMethod("DELETE")}} の成功結果は 200 OK ではなく、 {{HTTPStatus("204")}} No Content (や、リソースの初回アップロードによる作成の場合は {{HTTPStatus("201")}} )である場合もある。

+ +

ステータス

+ +
200 OK
+ +

仕様

+ + + + + + + + + + + + +
仕様タイトル
{{RFC("7231", "200 OK" , "6.3.1")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザー互換性

+ + + +

{{Compat("http.status.200")}}

+ +

参照

+ + diff --git a/files/ja/web/http/status/201/index.html b/files/ja/web/http/status/201/index.html new file mode 100644 index 0000000000..5b8a005712 --- /dev/null +++ b/files/ja/web/http/status/201/index.html @@ -0,0 +1,48 @@ +--- +title: 201 Created +slug: Web/HTTP/Status/201 +tags: + - HTTP + - Reference + - ステータスコード + - 成功 +translation_of: Web/HTTP/Status/201 +--- +
{{HTTPSidebar}}
+ +

HTTP の 201 Created 成功ステータスレスポンスコードは、リクエストが成功してリソースの作成が完了したことを表します。レスポンスが返される前に、新たなリソースが作成され、レスポンスメッセージの本文にて新しいリソースが返されます。その位置はリクエスト URL、または {{HTTPHeader("Location")}} ヘッダーの内容となります。

+ +

このステータスコードの一般的な使用例は、 {{HTTPMethod("PUT")}} リクエストの結果です。

+ +

状態

+ +
201 Created
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "201 Created" , "6.3.2")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.201")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/202/index.html b/files/ja/web/http/status/202/index.html new file mode 100644 index 0000000000..f4f6916f78 --- /dev/null +++ b/files/ja/web/http/status/202/index.html @@ -0,0 +1,37 @@ +--- +title: 202 Accepted +slug: Web/HTTP/Status/202 +tags: + - HTTP + - HTTP ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/202 +--- +
{{HTTPSidebar}}
+ +

HTTP 202 Accepted レスポンスはリクエストを受け取ったが処理はされていない、ということを表すステータスコードです。これはコミットされていない、リクエストを処理した結果を示すレスポンスを、非同期で送信する方法がHTTPに存在しないことを意味しています。別のプロセスまたはサーバーがリクエストを処理する場合、またはバッチ処理の場合を想定しています。

+ +

ステータス

+ +
202 Accepted
+ +

仕様

+ + + + + + + + + + + + +
仕様タイトル
{{RFC("7231", "202 Accepted" , "6.3.3")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

参照

+ + diff --git a/files/ja/web/http/status/203/index.html b/files/ja/web/http/status/203/index.html new file mode 100644 index 0000000000..0198651222 --- /dev/null +++ b/files/ja/web/http/status/203/index.html @@ -0,0 +1,46 @@ +--- +title: 203 Non-Authoritative Information +slug: Web/HTTP/Status/203 +tags: + - HTTP + - HTTP ステータスコード + - Reference + - Status code + - ステータスコード + - 成功レスポンス +translation_of: Web/HTTP/Status/203 +--- +
{{HTTPSidebar}}
+ +

HTTP の 203 Non-Authoritative Information レスポンスステータスは、リクエストが成功したものの、変換{{Glossary("Proxy server", "プロキシ")}}によって元のサーバーの{{HTTPStatus("200")}} (OK) レスポンスからペイロードが変更されたことを表します。

+ +

203 レスポンスは 214 の値、すなわち Transformation Applied の {{HTTPHeader("Warning")}} ヘッダーコードと似ていますが、こちらはどのステータスコードのレスポンスにも適用できるという利点があります。

+ +

ステータス

+ +
203 Non-Authoritative Information
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "203 Non-Authoritative Information" , "6.3.4")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/204/index.html b/files/ja/web/http/status/204/index.html new file mode 100644 index 0000000000..eb59749e28 --- /dev/null +++ b/files/ja/web/http/status/204/index.html @@ -0,0 +1,46 @@ +--- +title: 204 No Content +slug: Web/HTTP/Status/204 +tags: + - HTTP + - Success + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/204 +--- +

{{HTTPSidebar}}

+ +

HTTP のレスポンスコード 204 No Content は、リクエストが成功した事を示しますが、クライアントは現在のページから遷移する必要はありません。レスポンスコード 204 が返された場合は、デフォルトでキャッシュ可能になっています。そのようなレスポンスには、{{HTTPHeader("ETag")}} ヘッダーが含まれています。

+ +

レスポンスコード 204 は、主に、ユーザーに表示されるコンテンツ (ページの内容) の変更が不要な、{{HTTPMethod("PUT")}} リクエスト、リソースのアップデートなどに用いられます。リソースが作成される場合は、204 の代わりに、レスポンスコード {{HTTPStatus("201")}} Created が返されます。リクエスト後にページ内容の更新が必要な場合、レスポンスコード {{HTTPStatus("200")}} を用います。

+ +

ステータス

+ +
204 No Content
+ +

仕様

+ + + + + + + + + + + + +
仕様タイトル
{{RFC("7231", "204 No Content" , "6.3.5")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザの互換性

+ + + +

{{Compat("http/status", "204")}}

+ +

参照

+ + diff --git a/files/ja/web/http/status/205/index.html b/files/ja/web/http/status/205/index.html new file mode 100644 index 0000000000..dab1962040 --- /dev/null +++ b/files/ja/web/http/status/205/index.html @@ -0,0 +1,44 @@ +--- +title: 205 Reset Content +slug: Web/HTTP/Status/205 +tags: + - HTTP + - HTTP ステータスコード + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/205 +--- +

{{HTTPSidebar}}

+ +

HTTP 205 Reset Content のレスポンスステータスはクライアントにドキュメントビューをリセットするように指示します。たとえば、フォームの内容をクリアしたり、キャンバスの状態をリセットしたり、UI をリフレッシュすることができます。

+ +

ステータス

+ +
205 Reset Content
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("7231", "205 Reset Content" , "6.3.6")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

互換性メモ

+ + + +

関連情報

+ + diff --git a/files/ja/web/http/status/206/index.html b/files/ja/web/http/status/206/index.html new file mode 100644 index 0000000000..c2560cc2bc --- /dev/null +++ b/files/ja/web/http/status/206/index.html @@ -0,0 +1,86 @@ +--- +title: 206 Partial Content +slug: Web/HTTP/Status/206 +tags: + - HTTP + - HTTP ステータスコード + - Range Requests + - Success +translation_of: Web/HTTP/Status/206 +--- +
{{HTTPSidebar}}
+ +

HTTP 206 Partial Content は成功ステータスレスポンスコードで、そのリクエストが成功したこと、そしてリクエストの {{HTTPHeader("Range")}} ヘッダーに記述された通り、要求された範囲のデータが本文に含まれていることを示します。

+ +

もし範囲が1つしかないのであれば、レスポンス全体の {{HTTPHeader("Content-Type")}} が文書のタイプに設定され、 {{HTTPHeader("Content-Range")}} が提供されます。

+ +

複数の範囲が返される場合は、 {{HTTPHeader("Content-Type")}} が multipart/byteranges に設定され、それぞれの断片が1つの範囲を表し、{{HTTPHeader("Content-Range")}} および {{HTTPHeader("Content-Type")}} がそれを説明します。

+ +

ステータス

+ +
206 Partial Content
+ +

+ +

1つの範囲を含むレスポンスの例:

+ +
HTTP/1.1 206 Partial Content
+Date: Wed, 15 Nov 2015 06:25:24 GMT
+Last-Modified: Wed, 15 Nov 2015 04:58:08 GMT
+Content-Range: bytes 21010-47021/47022
+Content-Length: 26012
+Content-Type: image/gif
+
+... 26012 bytes of partial image data ...
+ +

複数の範囲を含むレスポンスの例:

+ +
HTTP/1.1 206 Partial Content
+Date: Wed, 15 Nov 2015 06:25:24 GMT
+Last-Modified: Wed, 15 Nov 2015 04:58:08 GMT
+Content-Length: 1741
+Content-Type: multipart/byteranges; boundary=String_separator
+
+--String_separator
+Content-Type: application/pdf
+Content-Range: bytes 234-639/8000
+
+...the first range...
+--String_separator
+Content-Type: application/pdf
+Content-Range: bytes 4590-7999/8000
+
+...the second range
+--String_separator--
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7233", "206 Partial Content" , "4.1")}}Hypertext Transfer Protocol (HTTP/1.1): Range Requests
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.206")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/300/index.html b/files/ja/web/http/status/300/index.html new file mode 100644 index 0000000000..e6081a01b3 --- /dev/null +++ b/files/ja/web/http/status/300/index.html @@ -0,0 +1,42 @@ +--- +title: 300 Multiple Choices +slug: Web/HTTP/Status/300 +tags: + - HTTP + - HTTP ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/300 +--- +
{{HTTPSidebar}}
+ +

HTTP の 300 Multiple Choices リダイレクト状態コードは、リクエストに対して複数のレスポンスがあることを示します。ユーザーエージェントやユーザーは、その内から一つを選択します。レスポンスを一つ選択する方法は標準化されていないため、このレスポンスコードはほとんど使われていません。

+ +

サーバーが推奨する選択肢がある場合は、 {{HTTPHeader("Location")}} ヘッダーを生成してください。

+ +

状態

+ +
300 Multiple Choices
+
+ +

仕様書

+ + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "300 Multiple Choices" , "6.4.1")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/301/index.html b/files/ja/web/http/status/301/index.html new file mode 100644 index 0000000000..ffd70bfad4 --- /dev/null +++ b/files/ja/web/http/status/301/index.html @@ -0,0 +1,63 @@ +--- +title: 301 Moved Permanently +slug: Web/HTTP/Status/301 +tags: + - HTTP + - Redirect + - Reference + - Status code + - ステータスコード + - リダイレクト +translation_of: Web/HTTP/Status/301 +--- +
{{HTTPSidebar}}
+ +

The HyperText Transfer Protocol (HTTP) の 301 Moved Permanently リダイレクトステータスコードは、リクエストされたリソースが {{HTTPHeader("Location")}} ヘッダーで示された URL へ完全に移動したことを示します。ブラウザーはこのページにリダイレクトし、検索エンジンはリソースへのリンクを更新します (「SEO 用語」では、「リンクジュース」が新しい URL に送られたと言われます)。

+ +

リダイレクトが行われるとき、仕様書ではメソッド (と本文) を変更しないよう要求していますが、すべてのユーザーエージェントが従っている訳ではありません。 - まだこの種のバグが発生するソフトウェアが見つかるでしょう。従って、 301 のコードは {{HTTPMethod("GET")}} または {{HTTPMethod("HEAD")}} メソッドのみに使用し、このステータスでは明確にメソッドの変更が禁止されているので、 {{HTTPMethod("POST")}} メソッドでは代わりに {{HTTPStatus("308", "308 Permanent Redirect")}} を使用することが推奨されています。

+ +

ステータス

+ +
301 Moved Permanently
+ +

+ +

クライアントリクエスト

+ +
GET /index.php HTTP/1.1
+Host: www.example.org
+ +

サーバーレスポンス

+ +
HTTP/1.1 301 Moved Permanently
+Location: http://www.example.org/index.asp
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "301 Moved Permanently" , "6.4.2")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.301")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/302/index.html b/files/ja/web/http/status/302/index.html new file mode 100644 index 0000000000..03966be5b3 --- /dev/null +++ b/files/ja/web/http/status/302/index.html @@ -0,0 +1,52 @@ +--- +title: 302 Found +slug: Web/HTTP/Status/302 +tags: + - HTTP + - HTTP ステータスコード + - Reference + - リダイレクト +translation_of: Web/HTTP/Status/302 +--- +
{{HTTPSidebar}}
+ +

The HyperText Transfer Protocol (HTTP) の 302 Found リダイレクトステータスレスポンスコードは、リクエストされたリソースが一時的に {{HTTPHeader("Location")}} で示された URL へ移動したことを示します。ブラウザーはこのページにリダイレクトしますが、検索エンジンはリソースへのリンクを更新しません (「SEO 用語」では、「リンクジュース」が新しい URL に送られなかったと言われます)。

+ +

仕様書ではリダイレクトの際にメソッド (と本文) を変更しないよう要求していますが、すべてのユーザーエージェントが準拠している訳ではありません (まだこの種のバグのあるソフトウェアが見つかるでしょう)。従って、 302 コードは {{HTTPMethod("GET")}} または {{HTTPMethod("HEAD")}} メソッドへのレスポンスのみに使用し、 {{HTTPMethod("POST")}} メソッドのままリダイレクトする場合は代わりに {{HTTPStatus("307", "307 Temporary Redirect")}} (こちらでは明確にメソッドの変更が禁止されている) を使用することが推奨されています。

+ +

使用されるメソッドを {{HTTPMethod("GET")}} に変更したい場合は、代わりに {{HTTPStatus("303", "303 See Other")}} を使用してください。これは {{HTTPMethod("PUT")}} メソッドへのレスポンスとして、アップロードされたリソースではなく「XYZ のアップロードに成功しました」のような確認メッセージを表示したい場合に便利です。

+ +

ステータス

+ +
302 Found
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "302 Found" , "6.4.3")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの対応

+ + + +

{{Compat("http.status.302")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/303/index.html b/files/ja/web/http/status/303/index.html new file mode 100644 index 0000000000..f80e5e0f14 --- /dev/null +++ b/files/ja/web/http/status/303/index.html @@ -0,0 +1,47 @@ +--- +title: 303 See Other +slug: Web/HTTP/Status/303 +tags: + - HTTP + - HTTP Status Code + - Reference + - redirects +translation_of: Web/HTTP/Status/303 +--- +

{{HTTPSidebar}}

+ +

HyperText Transfer Protocol (HTTP) の 303 See Other リダイレクトステータスレスポンスコードは、リダイレクトが新しくアップロードされたリソースではなく、 (確認ページやアップロード進捗ページのような) 別なページにリンクすることを示します。このレスポンスコードはふつう、 {{HTTPMethod("PUT")}} または {{HTTPMethod("POST")}} の結果として送り返されます。このリダイレクトページを表示するためには、常に {{HTTPMethod("GET")}} を使用してください。

+ +

ステータス

+ +
303 See Other
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "303 See Other" , "6.4.4")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.303")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/304/index.html b/files/ja/web/http/status/304/index.html new file mode 100644 index 0000000000..b2fe293ad7 --- /dev/null +++ b/files/ja/web/http/status/304/index.html @@ -0,0 +1,57 @@ +--- +title: 304 Not Modified +slug: Web/HTTP/Status/304 +tags: + - HTTP + - ステータスコード + - リダイレクト + - リファレンス +translation_of: Web/HTTP/Status/304 +--- +

{{HTTPSidebar}}

+ +

HTTP 304 Not Modified クライアントリダイレクトレスポンスコードは、リクエストされたリソースを再送する必要がないことを示します。これはキャッシュされたリソースへの暗黙のリダイレクトです。これは、{{HTTPMethod("GET")}} や {{HTTPMethod("HEAD")}} リクエストのようなリクエストメソッドが {{glossary("safe")}} である場合、またはリクエストが条件付きで {{HTTPHeader("If-None-Match")}} もしくは {{HTTPHeader("If-Modified-Since")}} ヘッダーを使用しているときに発生します。

+ +

{{HTTPStatus("200")}} OK と同等のレスポンスは {{HTTPHeader("Cache-Control")}}、{{HTTPHeader("Content-Location")}}、{{HTTPHeader("Date")}}、{{HTTPHeader("ETag")}}、{{HTTPHeader("Expires")}} および {{HTTPHeader("Vary")}} ヘッダーを含みます。

+ +
+

多くのブラウザの開発ツールのネットワークパネル304 レスポンスにつながる追加のリクエストを作成するため、開発者はローカルキャッシュへのアクセスを見ることができます。

+
+ +

ステータス

+ +
304 Not Modified
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("7232", "304 Not Modified" , "4.1")}}Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests
+ +

ブラウザの互換性

+ + + +

{{Compat("http.status.304")}}

+ +

互換性メモ

+ + + +

関連情報

+ + diff --git a/files/ja/web/http/status/307/index.html b/files/ja/web/http/status/307/index.html new file mode 100644 index 0000000000..1d96694319 --- /dev/null +++ b/files/ja/web/http/status/307/index.html @@ -0,0 +1,53 @@ +--- +title: 307 Temporary Redirect +slug: Web/HTTP/Status/307 +tags: + - HTTP + - HTTP ステータスコード + - Reference + - リダイレクト +translation_of: Web/HTTP/Status/307 +--- +
{{HTTPSidebar}}
+ +

{{Glossary("HTTP")}} の 307 Temporary Redirect リダイレクトステータスレスポンスコードは、リクエストされたリソースが一時的に {{HTTPHeader("Location")}} で示された URL へ移動したことを示します。

+ +

元のリクエストのメソッドと本文は、リダイレクトされたリクエストを行う際に再利用されます。使用されるメソッドを {{HTTPMethod("GET")}} に変更したい場合は、代わりに {{HTTPStatus("303", "303 See Other")}} を使用してください。これは {{HTTPMethod("PUT")}} メソッドへのレスポンスで、アップロードされたリソースではないところで「XYZ のアップロードに成功しました」のような確認メッセージを表示したい場合に便利です。

+ +

307 と {{HTTPStatus("302")}} の唯一の違いは、 307 はリダイレクトされたリクエストが行われるときに、メソッドと本文が変更されないことが保証されることです。 302 では、一部の古いクライアントは不正にメソッドを {{HTTPMethod("GET")}} に変更してしまいます。 GET 以外のメソッドと 302 による挙動はウェブで予測することができず、 307 の挙動は予測できます。 GET リクエストでは、両者の挙動は同じです。

+ +

ステータス

+ +
307 Temporary Redirect
+
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "307 Temporary Redirect" , "6.4.7")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの対応

+ + + +

{{Compat("http.status.307")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/308/index.html b/files/ja/web/http/status/308/index.html new file mode 100644 index 0000000000..d2329cd602 --- /dev/null +++ b/files/ja/web/http/status/308/index.html @@ -0,0 +1,53 @@ +--- +title: 308 Permanent Redirect +slug: Web/HTTP/Status/308 +tags: + - HTTP + - HTTP ステータスコード + - Reference + - リダイレクト +translation_of: Web/HTTP/Status/308 +--- +
{{HTTPSidebar}}
+ +

The HyperText Transfer Protocol (HTTP) 308 Permanent Redirect リダイレクトステータスコードは、リクエストされたリソースが {{HTTPHeader("Location")}} ヘッダーで示された URL へ完全に移動したことを示します。ブラウザーはこのページにリダイレクトし、検索エンジンはリソースへのリンクを更新します (「SEO 用語」では、「リンクジュース」が新しい URL に送られたと言われます)。

+ +

{{HTTPStatus("301")}} の場合は不正に {{HTTPMethod("GET")}} メソッドに変更される可能性があるのに対し、このコードの場合はリクエストメソッドと本文が変更されません。

+ +
+

メモ: ウェブアプリケーションによっては、 308 Permanent Redirect を標準外かつ他の目的に使用していることがあります。例えば、 Google Drive はアップロードが不完全に停止したことを表すために、 308 Resume Incomplete レスポンスを使用します。[1]

+
+ +

ステータス

+ +
308 Permanent Redirect
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7538", "308 Permanent Redirect" , "3")}}The Hypertext Transfer Protocol Status Code 308 (Permanent Redirect)
+ +

ブラウザーの対応

+ + + +

{{Compat("http.status.308")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/400/index.html b/files/ja/web/http/status/400/index.html new file mode 100644 index 0000000000..a7fa86440c --- /dev/null +++ b/files/ja/web/http/status/400/index.html @@ -0,0 +1,45 @@ +--- +title: 400 Bad Request +slug: Web/HTTP/Status/400 +tags: + - HTTP + - HTTP ステータスコード + - Reference + - クライアントエラー + - ステータスコード +translation_of: Web/HTTP/Status/400 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 400 Bad Request レスポンスステータスコードは、何らかのクライアント側のエラーであると分かったために、サーバーがそのリクエストを処理しない (できない) ことを表します (例えば、リクエストの構文が正しくない、リクエストメッセージのフレーミングが無効、リクエスト経路に偽りがあるなど)。

+ +
+

クライアントは変更なしにこのリクエストを繰り返すべきではありません。

+
+ +

ステータス

+ +
400 Bad Request 
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "400 Bad Request" , "6.5.1")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/401/index.html b/files/ja/web/http/status/401/index.html new file mode 100644 index 0000000000..5e38983c79 --- /dev/null +++ b/files/ja/web/http/status/401/index.html @@ -0,0 +1,58 @@ +--- +title: 401 Unauthorized +slug: Web/HTTP/Status/401 +tags: + - HTTP + - HTTP ステータスコード + - Reference +translation_of: Web/HTTP/Status/401 +--- +
{{HTTPSidebar}}
+ +

HTTP 401 Unauthorized は、有効な認証資格が不足していることによりリクエストが適用されないことを示すクライアントエラーのレスポンスコードです。

+ +

このステータスは、正しい認証方法を含む {{HTTPHeader("WWW-Authenticate")}} ヘッダーとともに送信されます。

+ +

このステータスは {{HTTPStatus("403")}} に似ていますが、この場合は再認証が可能です。

+ +

ステータス

+ +
401 Unauthorized
+ +

+ +
HTTP/1.1 401 Unauthorized
+Date: Wed, 21 Oct 2015 07:28:00 GMT
+WWW-Authenticate: Basic realm="Access to staging site"
+ +

仕様

+ + + + + + + + + + + + +
仕様タイトル
{{RFC("7235", "401 Unauthorized" , "3.1")}}HTTP/1.1: Authentication
+ +

ブラウザー互換性

+ + + +

{{Compat("http.status.401")}}

+ +

参照

+ + diff --git a/files/ja/web/http/status/402/index.html b/files/ja/web/http/status/402/index.html new file mode 100644 index 0000000000..8a58ee1ad6 --- /dev/null +++ b/files/ja/web/http/status/402/index.html @@ -0,0 +1,56 @@ +--- +title: 402 Payment Required +slug: Web/HTTP/Status/402 +tags: + - Browser + - Client error + - HTTP + - Status code + - クライアントエラー + - ステータスコード +translation_of: Web/HTTP/Status/402 +--- +

{{HTTPSidebar}}{{SeeCompatTable}}

+ +

HTTP の 402 Payment Required は、将来使用するために予約されている標準外のクライアントエラーステータスレスポンスコードです。

+ +

このコードは、クライアントが支払いをするまでリクエストを処理できないことを示している場合があります。もともとは電子マネーまたは (マイクロ) ペイメントシステムを有効にするために作成されたもので、リクエストされたコンテンツがクライアントが支払いをするまで利用できないことを示していました。しかしながら、標準的な慣例は存在せず、様々なエンティティが様々な場面で使用しています。

+ +

ステータス

+ +
402 Payment Required
+ +

レスポンスの例

+ +
HTTP/1.1 402 Payment Required
+Date: Wed, 21 Oct 2015 07:28:00 GMT
+
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "402 Payment Required" , "6.5.2")}}HTTP/1.1: Semantics and Content
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.402")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/403/index.html b/files/ja/web/http/status/403/index.html new file mode 100644 index 0000000000..d2043ac3f8 --- /dev/null +++ b/files/ja/web/http/status/403/index.html @@ -0,0 +1,56 @@ +--- +title: 403 Forbidden +slug: Web/HTTP/Status/403 +tags: + - HTTP + - HTTP ステータスコード + - Reference + - クライアントエラー + - ステータスコード +translation_of: Web/HTTP/Status/403 +--- +
{{HTTPSidebar}}
+ +

HTTP の 403 Forbidden クライアントエラーレスポンスコードは、サーバーがリクエストを理解したものの、認証が拒否されたことを示します。

+ +

このステータスは {{HTTPStatus("401")}} に似ていますが、この場合は再認証しても結果は変わりません。アクセスは恒久的に禁止されており、リソースにアクセスする権限が不足しているなど、アプリケーションのロジックに結びついたものです。

+ +

ステータス

+ +
403 Forbidden
+ +

レスポンスの例

+ +
HTTP/1.1 403 Forbidden
+Date: Wed, 21 Oct 2015 07:28:00 GMT
+
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "403 Forbidden" , "6.5.3")}}HTTP/1.1: Semantics and Content
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.403")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/404/index.html b/files/ja/web/http/status/404/index.html new file mode 100644 index 0000000000..b3019345bd --- /dev/null +++ b/files/ja/web/http/status/404/index.html @@ -0,0 +1,65 @@ +--- +title: 404 Not Found +slug: Web/HTTP/Status/404 +tags: + - Browser + - HTTP + - Reference + - Status code + - クライアントエラー + - ステータスコード +translation_of: Web/HTTP/Status/404 +--- +
{{HTTPSidebar}}
+ +

HTTP 404 Not Found は、サーバーがリクエストされたリソースを見つけることができない時のクライアントエラーのレスポンスコードです。 404 ページにつながるリンクは、壊れたリンクまたは死んだリンクと呼ばれ、リンク腐敗の影響を受ける可能性があります。

+ +

404 ステータスコードは、リソースが一時的または永続的に失われているかどうかを示してはいませんが、リソースが永久に削除された場合は、 404 ステータスの代わりに {{HTTPStatus("410")}} (Gone) を使用する必要があります。

+ +

ステータス

+ +
404 Not Found
+ +

カスタムエラーページ

+ +

多くのウェブサイトでは、 404 ページの見た目をカスタマイズし、よりユーザーにとって役立つような、次に何をすべきかについてのガイダンスを提供しています。 Apache サーバーは .htaccess ファイルや、以下の例のようなコードスニペットを使用して構成することができます。

+ +
ErrorDocument 404 /notfound.html
+ +

カスタム 404 ページの例については、 MDN の 404 ページを参照してください。

+ +
+

適度なデザインのカスタマイズは良いことです。あなたの 404 ページをユーモアや思いやりのあるものにすることは自由ですが、ユーザーを混乱させないようにしてください。

+
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "404 Not Found" , "6.5.4")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.404")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/405/index.html b/files/ja/web/http/status/405/index.html new file mode 100644 index 0000000000..30429674b5 --- /dev/null +++ b/files/ja/web/http/status/405/index.html @@ -0,0 +1,46 @@ +--- +title: 405 Method Not Allowed +slug: Web/HTTP/Status/405 +tags: + - HTTP + - HTTP ステータスコード + - Reference + - クライアントエラー + - リファレンス +translation_of: Web/HTTP/Status/405 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 405 Method Not Allowed レスポンスステータスコードは、リクエストメソッドをサーバー側で認識しているが、対象のリソースでは対応していないことを示します。

+ +

サーバーは 405 レスポンスで、対象のリソースで現在対応しているメソッドの一覧を含む Allow ヘッダー欄を生成しなければなりません。

+ +

ステータス

+ +
405 Method Not Allowed
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "405 Method Not Allowed" , "6.5.5")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/406/index.html b/files/ja/web/http/status/406/index.html new file mode 100644 index 0000000000..ce674696f3 --- /dev/null +++ b/files/ja/web/http/status/406/index.html @@ -0,0 +1,64 @@ +--- +title: 406 Not Acceptable +slug: Web/HTTP/Status/406 +tags: + - HTTP + - HTTP ステータスコード + - Reference +translation_of: Web/HTTP/Status/406 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 406 Not Acceptable クライアントエラーレスポンスコードは、サーバーがリクエストの用意したコンテンツネゴシエーションヘッダーで定義された受付可能な値に一致するレスポンスを生成できず、サーバーが既定の表現方法で提供することを望まないことを表します。

+ +

用意されるコンテンツネゴシエーションヘッダーには次のものがあります。

+ + + +

実際には、このエラーは滅多に使われません。このエラーコードが使用される代わりに、エンドユーザーには暗号的で修正するのが困難なものなので、サーバーは関連するヘッダーを無視してユーザーに実際のページを提供します。ユーザーが完全に利益にならない場合に限り、こちらのエラーコードを選択するでしょう。

+ +

サーバーがこのようなエラー状態を返してきた場合、メッセージの本文には利用できるリソースの表現の一覧を含み、ユーザーがその中から選択できるようにします。

+ +

ステータス

+ +
406 Not Acceptable
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "406 Not Acceptable" , "6.5.6")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの対応

+ +

以下の情報は MDN の Github (https://github.com/mdn/browser-compat-data) から取得したものです。

+ + + +

{{Compat("http.status.406")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/407/index.html b/files/ja/web/http/status/407/index.html new file mode 100644 index 0000000000..d4650a7058 --- /dev/null +++ b/files/ja/web/http/status/407/index.html @@ -0,0 +1,57 @@ +--- +title: 407 Proxy Authentication Required +slug: Web/HTTP/Status/407 +tags: + - HTTP + - クライアントエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/407 +--- +
{{HTTPSidebar}}
+ +

HTTP 407 Proxy Authentication Required クライアントエラーというステータスのレスポンスコードは、リクエストが適用されていないことを示しています。なぜなら、ブラウザと要求されたリソースにアクセスできるサーバーの間にあるプロキシサーバーに有効な認証情報が不足しているためです。

+ +

このステータスは、正しい認証の仕方に関する情報を含む {{HTTPHeader("Proxy-Authenticate")}} ヘッダーと共に送信されます。

+ +

ステータス

+ +
407 Proxy Authentication Required 
+ +

レスポンス例

+ +
HTTP/1.1 407 Proxy Authentication Required
+Date: Wed, 21 Oct 2015 07:28:00 GMT
+Proxy-Authenticate: Basic realm="Access to internal site"
+ +

仕様

+ + + + + + + + + + + + +
SpecificationTitle
{{RFC("7235", "407 Proxy Authentication Required" , "3.2")}}HTTP/1.1: Authentication
+ +

ブラウザ互換性

+ + + +

{{Compat("http.status.407")}}

+ +

参照

+ + diff --git a/files/ja/web/http/status/408/index.html b/files/ja/web/http/status/408/index.html new file mode 100644 index 0000000000..39c187b5a0 --- /dev/null +++ b/files/ja/web/http/status/408/index.html @@ -0,0 +1,48 @@ +--- +title: 408 Request Timeout +slug: Web/HTTP/Status/408 +tags: + - HTTP + - HTTPステータスコード + - クライアントエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/408 +--- +

{{HTTPSidebar}}

+ +

HyperText Transfer Protocol (HTTP) 408 Request Timeout レスポンスステータスコードはサーバーがこの未使用のコネクションをシャットダウンすることを意味します。 クライアントからの以前のリクエストがなくても、一部のサーバーによってアイドル状態のコネクションで送信されます。

+ +

408 はサーバーがコネクションを待機し続けるのではなく、閉じることを決定することを意味しているため、サーバーはレスポンスで "close" {{HTTPHeader("Connection")}} ヘッダーフィールドを送信する必要があります。

+ +

このレスポンスは HTTP 事前接続メカニズム使用してサーフィンを高速化するために、Chrome や、Firefox 27+、IE9 などの、いくつかのブラウザでよく利用されます。

+ +
+

メモ: このメッセージを送信せずに接続をシャットダウンするサーバーもあります。

+
+ +

ステータス

+ +
408 Request Timeout
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("7231", "408 Request Timeout" , "6.5.7")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

参照

+ + diff --git a/files/ja/web/http/status/409/index.html b/files/ja/web/http/status/409/index.html new file mode 100644 index 0000000000..155f2bd1a6 --- /dev/null +++ b/files/ja/web/http/status/409/index.html @@ -0,0 +1,40 @@ +--- +title: 409 Conflict +slug: Web/HTTP/Status/409 +tags: + - HTTP + - HTTPステータスコード + - Reference + - クライアントエラー +translation_of: Web/HTTP/Status/409 +--- +

{{HTTPSidebar}}

+ +

HTTP 409 Conflict はリクエストが現在のサーバーの状態と競合したことを示すステータスコード。

+ +

競合は {{HTTPMethod("PUT")}} メソッドを使用したリクエストのレスポンスで最も発生しやすい。例えば、サーバーにすでに存在しているファイルよりも古いバージョンのファイルをアップロードした際に409の応答が返され、バージョン管理システムの競合が発生する可能性がある。

+ +

ステータス

+ +
409 Conflict
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("7231", "409 Conflict" , "6.5.8")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

参照

+ + diff --git a/files/ja/web/http/status/410/index.html b/files/ja/web/http/status/410/index.html new file mode 100644 index 0000000000..ba7d4462e1 --- /dev/null +++ b/files/ja/web/http/status/410/index.html @@ -0,0 +1,55 @@ +--- +title: 410 Gone +slug: Web/HTTP/Status/410 +tags: + - Client error + - HTTP + - Reference + - クライアントエラー + - ステータスコード +translation_of: Web/HTTP/Status/410 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 410 Gone クライエントエラーレスポンスコードは、元のサーバーで利用できなくなっている対象リソースにアクセスしていることを示します。この状態は永久的です。

+ +

この状態が一時的なものか永久なのか分からない場合は、代わりに {{HTTPStatus(404)}} ステータスコードを使用してください。

+ +
+

メモ: 410 レスポンスは既定でキャッシュ可能です。

+
+ +

ステータス

+ +
410 Gone
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "410 Gone" , "6.5.9")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ +

以下に示す情報は、 MDN の GitHub から取得したものです。 (https://github.com/mdn/browser-compat-data).

+ + + +

{{Compat("http.status.410")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/411/index.html b/files/ja/web/http/status/411/index.html new file mode 100644 index 0000000000..af799dec88 --- /dev/null +++ b/files/ja/web/http/status/411/index.html @@ -0,0 +1,44 @@ +--- +title: 411 Length Required +slug: Web/HTTP/Status/411 +tags: + - HTTP + - HTTPステータスコード + - クライアントエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/411 +--- +

{{HTTPSidebar}}

+ +

HyperText Transfer Protocol (HTTP) 411 Length Required クライアントエラーレスポンスコードは、サーバーが定義された {{HTTPHeader("Content-Length")}} ヘッダーのないリクエストの受け入れを拒否することを示します。

+ +
+

メモ: 仕様によっては、一連のチャンクでデータを送信する場合 Content-Length ヘッダは省略され、各チャンクの先頭に、現在のチャンクの長さを16進形式で追加する必要があります。詳細は {{HTTPHeader("Transfer-Encoding")}} を参照してください。

+
+ +

ステータス

+ +
411 Length Required
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("7231", "411 Length Required" , "6.5.10")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/412/index.html b/files/ja/web/http/status/412/index.html new file mode 100644 index 0000000000..eb990c4f4d --- /dev/null +++ b/files/ja/web/http/status/412/index.html @@ -0,0 +1,71 @@ +--- +title: 412 Precondition Failed +slug: Web/HTTP/Status/412 +tags: + - HTTP + - Reference + - エラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/412 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) 412 Precondition Failed クライアントエラーレスポンスコードは、ターゲットリソースへのアクセスが拒否されたことを示します。これは、 {{HTTPHeader("If-Unmodified-Since")}} または {{HTTPHeader("If-None-Match")}} ヘッダーで定義された条件が満たされていない場合に、 {{HTTPMethod("GET")}} もしくは {{HTTPMethod("HEAD")}} 以外のメソッドの条件付きリクエストで発生します。その場合、リクエスト (通常はリソースのアップロードまたは変更) を行うことができず、このエラーレスポンスが返されます。

+ +

ステータス

+ +
412 Precondition Failed
+ +

+ +
ETag: "33a64df551425fcc55e4d42a148795d9f25f89d4"
+ETag: W/"0815"
+ +

空中衝突の防止

+ +

ETag と {{HTTPHeader("If-Match")}} の各ヘッダーを活用することで、編集の空中衝突を検出することができます。

+ +

例えば、 MDN を編集しているとき、現在の Wiki の内容がハッシュ化され、レスポンスの Etag に入ります。

+ +
ETag: "33a64df551425fcc55e4d42a148795d9f25f89d4"
+ +

Wiki ページへの編集を保存する (データを投稿する) 際に、 {{HTTPMethod("POST")}} リクエストに {{HTTPHeader("If-Match")}} ヘッダーを含み、その中で新鮮さをチェックするための ETag の値を含みます。

+ +
If-Match: "33a64df551425fcc55e4d42a148795d9f25f89d4"
+ +

ハッシュが一致しない場合、その間で文書が編集されたことを意味するので、 {{HTTPStatus("412")}} Precondition Failed エラーを発生させます。

+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7232", "412 Precondition Failed" , "4.2")}}Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests
+ +

ブラウザーの互換性

+ +

以下に示す情報は、 MDN の GitHub から取得したものです。 (https://github.com/mdn/browser-compat-data).

+ + + +

{{Compat("http.status.412")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/413/index.html b/files/ja/web/http/status/413/index.html new file mode 100644 index 0000000000..f4b4ab9ffd --- /dev/null +++ b/files/ja/web/http/status/413/index.html @@ -0,0 +1,42 @@ +--- +title: 413 Payload Too Large +slug: Web/HTTP/Status/413 +tags: + - Client error + - HTTP + - HTTP Status Code + - Reference + - Status code +translation_of: Web/HTTP/Status/413 +--- +
{{HTTPSidebar}}
+ +

HTTP 413 Payload Too Large レスポンスステータスコードは、リクエストエンティティがサーバーによって定義された制限よりも大きいことを示します。サーバーは接続を閉じるか {{HTTPHeader("Retry-After")}} ヘッダーフィールドを返します。

+ +

ステータス

+ +
413 Payload Too Large
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "413 Payload Too Large" , "6.5.11")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/414/index.html b/files/ja/web/http/status/414/index.html new file mode 100644 index 0000000000..308616143f --- /dev/null +++ b/files/ja/web/http/status/414/index.html @@ -0,0 +1,49 @@ +--- +title: 414 URI Too Long +slug: Web/HTTP/Status/414 +tags: + - HTTP + - Reference + - クライアントエラー + - ステータスコード +translation_of: Web/HTTP/Status/414 +--- +
{{HTTPSidebar}}
+ +

HTTP の 414 URI Too Long レスポンスステータスコードは、クライアントがリクエストした URL が、サーバーが解釈しようとするものよりも長いことを示します。

+ +

これが発生する条件はわずかです。

+ + + +

ステータス

+ +
414 URI Too Long
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "414 URI Too Long" , "6.5.12")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/415/index.html b/files/ja/web/http/status/415/index.html new file mode 100644 index 0000000000..ced2dfbcf6 --- /dev/null +++ b/files/ja/web/http/status/415/index.html @@ -0,0 +1,43 @@ +--- +title: 415 Unsupported Media Type +slug: Web/HTTP/Status/415 +tags: + - HTTP + - HTTPステータスコード + - クライアントエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/415 +--- +

{{HTTPSidebar}}

+ +

HTTP 415 Unsupported Media Type クライアントエラーレスポンスコードは、ペイロードフォーマットがサポートされていないフォーマットであるため、サーバーがリクエストの受け入れを拒否することを示します。

+ +

フォーマットの問題はリクエストされた {{HTTPHeader("Content-Type")}} または {{HTTPHeader("Content-Encoding")}} によるものか、または直接データを検査した結果に起因する可能性があります。

+ +

ステータス

+ +
415 Unsupported Media Type
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("7231", "415 Unsupported Media Type" , "6.5.13")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/416/index.html b/files/ja/web/http/status/416/index.html new file mode 100644 index 0000000000..2d82a94f5d --- /dev/null +++ b/files/ja/web/http/status/416/index.html @@ -0,0 +1,53 @@ +--- +title: 416 Range Not Satisfiable +slug: Web/HTTP/Status/416 +tags: + - Client error + - HTTP + - Status code +translation_of: Web/HTTP/Status/416 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) 416 Range Not Satisfiable エラーレスポンスコードは、サーバーがリクエストされた範囲を提供できないことを示します。最も可能性の高い理由は、文書にそのような範囲が含まれていないか、または {{HTTPHeader("Range")}} ヘッダー値が構文的には正しいものの、意味をなさないということです。

+ +

416 レスポンスメッセージには {{HTTPHeader("Content-Range")}} が含まれ、未解決の範囲 ('*') とそれに続く '/' とリソースの現在、例えば Content-Range: bytes */12777 を示します。

+ +

このエラーに直面すると、ブラウザーは通常操作を中断する (たとえば、ダウンロードは再開不可とみなす) か、文書全体を再度リクエストするかします。

+ +

ステータス

+ +
416 Range Not Satisfiable
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7233", "416 Request Not Satisfiable" , "4.4")}}Hypertext Transfer Protocol (HTTP/1.1): Range Requests
+ +

ブラウザーの互換性

+ +

以下に表示される情報は、MDN の Github (https://github.com/mdn/browser-compat-data) からのものです。

+ + + +

{{Compat("http.status.416")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/417/index.html b/files/ja/web/http/status/417/index.html new file mode 100644 index 0000000000..8c81d582f9 --- /dev/null +++ b/files/ja/web/http/status/417/index.html @@ -0,0 +1,41 @@ +--- +title: 417 Expectation Failed +slug: Web/HTTP/Status/417 +tags: + - HTTP + - HTTP ステータスコード + - クライアントエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/417 +--- +

{{HTTPSidebar}}

+ +

HTTP 417 Expectation Failed クライアントエラーレスポンスコードは、リクエストの {{HTTPHeader("Expect")}} ヘッダーに期待された値が設定されていなかったことを示します。

+ +

詳細は {{HTTPHeader("Expect")}} ヘッダーを参照してください。

+ +

ステータス

+ +
417 Expectation Failed
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("7231", "417 Expectation Failed" , "6.5.14")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/418/index.html b/files/ja/web/http/status/418/index.html new file mode 100644 index 0000000000..1295a85bec --- /dev/null +++ b/files/ja/web/http/status/418/index.html @@ -0,0 +1,51 @@ +--- +title: 418 I'm a teapot +slug: Web/HTTP/Status/418 +tags: + - HTTP + - HTTP Status Code + - Reference +translation_of: Web/HTTP/Status/418 +--- +
{{HTTPSidebar}}
+ +

HTTP の 418 I'm a teapot クライアントエラーレスポンスコードは、サーバーが、自身がティーポットであることを理由としてコーヒーを入れることを拒否することを示します。コーヒーとティーの複合ポットで、一時的にコーヒーが提供できない場合は、代わりに 503 を返してください。このエラーは、1998年のエイプリルフールのジョークである Hyper Text Coffee Pot Control Protocol に由来します。

+ +

一部のウェブサイトでは、自動化されたクエリなど、処理したくないリクエストに対してこのレスポンスを使用しています。

+ +

ステータス

+ +
418 I'm a teapot
+ +

仕様書

+ + + + + + + + + + + + + + + + + + +
仕様書題名
{{RFC("2324", "418 I'm a teapot" , "2.3.2")}}Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0): Semantics and Content
{{RFC("7168", "418 I'm a teapot" , "2.3.3")}}The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA): Response Codes
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.418")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/422/index.html b/files/ja/web/http/status/422/index.html new file mode 100644 index 0000000000..7cbff3d941 --- /dev/null +++ b/files/ja/web/http/status/422/index.html @@ -0,0 +1,39 @@ +--- +title: 422 Unprocessable Entity +slug: Web/HTTP/Status/422 +tags: + - HTTP + - HTTP ステータスコード + - WebDAV + - クライアントエラー + - リファレンス +translation_of: Web/HTTP/Status/422 +--- +

{{HTTPSidebar}}

+ +

The HyperText Transfer Protocol (HTTP) の 422 Unprocessable Entity 応答状態コードは、サーバーが要求本文のコンテンツ型を理解でき、要求本文の構文が正しいものの、中に含まれている指示が処理できなかったことを表します。

+ +
+

重要: クライアントは修正なしにこの要求を繰り返すべきではありません。

+
+ +

状態

+ +
422 Unprocessable Entity
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("4918", "422 Unprocessable Entity" , "11.2")}}HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)
diff --git a/files/ja/web/http/status/425/index.html b/files/ja/web/http/status/425/index.html new file mode 100644 index 0000000000..a144ea2f4b --- /dev/null +++ b/files/ja/web/http/status/425/index.html @@ -0,0 +1,41 @@ +--- +title: 425 Too Early +slug: Web/HTTP/Status/425 +tags: + - HTTP + - HTTP ステータスコード + - クライアントエラー + - ステータスコード + - ブラウザー +translation_of: Web/HTTP/Status/425 +--- +
{{SeeCompatTable}}{{HTTPSidebar}}
+ +

HTTP (HyperText Transfer Protocol) の 425 Too Early レスポンスステータスコードは、サーバーがリプレイ攻撃の可能性を生み出すリプレイされた要求を処理するリスクを負わないことを示します。

+ +

ステータス

+ +
425 Too Early
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("8470", "425: Early Data", "5.2")}}Using Early Data in HTTP
+ +

ブラウザーの対応

+ + + +

{{Compat("http.status.425")}}

diff --git a/files/ja/web/http/status/426/index.html b/files/ja/web/http/status/426/index.html new file mode 100644 index 0000000000..0129ce84cb --- /dev/null +++ b/files/ja/web/http/status/426/index.html @@ -0,0 +1,54 @@ +--- +title: 426 Upgrade Required +slug: Web/HTTP/Status/426 +tags: + - HTTP + - HTTP ステータスコード + - クライアントエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/426 +--- +
{{HTTPSidebar}}
+ +

HTTP の 426 Upgrade Required クライアントエラーレスポンスコードは、サーバーが現在のプロトコルを使用してリクエストを実行することを拒否していることを示しますが、クライアントが別のプロトコルにアップグレードした後に発生する可能性があります。

+ +

サーバーはこのレスポンスとともに {{HTTPHeader("Upgrade")}} ヘッダーを送信し、必要なプロトコルを示します。

+ +

ステータス

+ +
426 Upgrade Required
+ +

+ +
HTTP/1.1 426 Upgrade Required
+Upgrade: HTTP/2.0
+Connection: Upgrade
+Content-Length: 53
+Content-Type: text/plain
+
+This service requires use of the HTTP/2.0 protocol
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "426 Upgrade Required" , "6.5.15")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/428/index.html b/files/ja/web/http/status/428/index.html new file mode 100644 index 0000000000..584859f5aa --- /dev/null +++ b/files/ja/web/http/status/428/index.html @@ -0,0 +1,45 @@ +--- +title: 428 Precondition Required +slug: Web/HTTP/Status/428 +tags: + - HTTP + - HTTP ステータスコード + - クライアントエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/428 +--- +

{{HTTPSidebar}}

+ +

HTTP 428 Precondition Required レスポンスステータスコードは、サーバーがリクエストを条件付きにする必要があることを示します。

+ +

通常、これは {{HTTPHeader("If-Match")}} のような必須の前提条件ヘッダーがないことを意味します。

+ +

前提条件ヘッダーがサーバー側の状態と一致しない場合、レスポンスは {{HTTPStatus(412)}} Precondition Failed である必要があります。

+ +

ステータス

+ +
428 Precondition Required
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("6585", "428 Precondition Required" , "3")}}Additional HTTP Status Codes
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/429/index.html b/files/ja/web/http/status/429/index.html new file mode 100644 index 0000000000..cb0a031143 --- /dev/null +++ b/files/ja/web/http/status/429/index.html @@ -0,0 +1,51 @@ +--- +title: 429 Too Many Requests +slug: Web/HTTP/Status/429 +tags: + - Client error + - HTTP + - HTTP Status Code + - Reference + - Status code +translation_of: Web/HTTP/Status/429 +--- +
{{HTTPSidebar}}
+ +

HTTP 429 Too Many Requests レスポンスステータスコードは、ユーザーが指定された時間内に多くのリクエストを送信した ("rate limiting") ことを示します。

+ +

新しいリクエストを行う前にどのくらい待つかを示す {{HTTPHeader("Retry-After")}} ヘッダをこのレスポンスに含めることができます。

+ +

ステータス

+ +
429 Too Many Requests
+ +

+ +
HTTP/1.1 429 Too Many Requests
+Content-Type: text/html
+Retry-After: 3600
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("6585", "429 Too Many Requests" , "4")}}Additional HTTP Status Codes
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/431/index.html b/files/ja/web/http/status/431/index.html new file mode 100644 index 0000000000..e24f1f2509 --- /dev/null +++ b/files/ja/web/http/status/431/index.html @@ -0,0 +1,51 @@ +--- +title: 431 Request Header Fields Too Large +slug: Web/HTTP/Status/431 +tags: + - HTTP + - HTTP ステータスコード + - Reference + - クライアントエラー + - ステータスコード +translation_of: Web/HTTP/Status/431 +--- +
{{HTTPSidebar}}
+ +

HTTP の 431 Request Header Fields Too Large レスポンスステータスコードは、リクエストの HTTP ヘッダーが長すぎるためにサーバーがリクエストの処理を拒否したことを示します。ヘッダーフィールドを縮小した上で、リクエストを再送信することができます

+ +

431 はリクエストヘッダーの全体の大きさが大きすぎる場合や、単一のヘッダーフィールドが長すぎる場合に使用することができます。このエラーが発生した場合は、レスポンス本文でこの二つの問題のどちらであるかを示すと役立ちます。 — できれば、どのヘッダーが長すぎるのかも含めたほうがよいでしょう。これによってユーザーが、クッキーを消去するなど、問題の解決を試みることができます。

+ +

サーバーは次のような場合に、よくこのステータスを生成します。

+ + + +

ステータス

+ +
431 Request Header Fields Too Large
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("6585", "431 Request Header Fields Too Large" , "5")}}Additional HTTP Status Codes
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/451/index.html b/files/ja/web/http/status/451/index.html new file mode 100644 index 0000000000..c0a18466bf --- /dev/null +++ b/files/ja/web/http/status/451/index.html @@ -0,0 +1,72 @@ +--- +title: 451 Unavailable For Legal Reasons +slug: Web/HTTP/Status/451 +tags: + - Client error + - HTTP + - Reference + - Status code +translation_of: Web/HTTP/Status/451 +--- +

{{HTTPSidebar}}

+ +

HyperText Transfer Protocol (HTTP) の 451 Unavailable For Legal Reasons はユーザーの要求したリソースが法的理由で使用できない場合のクライアントエラーのレスポンスコードです。

+ +

ステータス

+ +
451 Unavailable For Legal Reasons
+ +

+ +

このレスポンス例は IETF RFC 文書 (リンクは後述) にあるもので、モンティ・パイソンの{{interwiki("wikipedia", "Monty_Python's_Life_of_Brian", "ライフ・オブ・ブライアン")}}からの引用を例に用いています。

+ +

注: ISP や DNS サーバーなど、実際にユーザーによるリソースの使用を阻んでいる主体を示すときには rel="blocked-by" という値のついた {{HTTPHeader("Link")}} HTTP ヘッダーを使用します。

+ +

リソースの使用を阻んでいる最終的な原因は、rel="blocked-by" の {{HTTPHeader("Link")}}HTTP ヘッダーではなくレスポンスの本体に記載されます。これは内容の削除を求める法的な請求を行った個人や組織などが含まれます。

+ +
HTTP/1.1 451 Unavailable For Legal Reasons
+Link: <https://spqr.example.org/legislatione>; rel="blocked-by"
+Content-Type: text/html
+ +
<html>
+      <head><title>Unavailable For Legal Reasons</title></head>
+      <body>
+            <h1>Unavailable For Legal Reasons</h1>
+            <p>This request may not be serviced in the Roman Province
+            of Judea due to the Lex Julia Majestatis, which disallows
+            access to resources hosted on servers deemed to be
+            operated by the People's Front of Judea.</p>
+     </body>
+</html>
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7725", "451 Unavailable For Legal Reasons")}}An HTTP Status Code to Report Legal Obstacles
+ +

ブラウザーの互換性

+ +

以下に示す情報は、 MDN の GitHub から取得したものです。 (https://github.com/mdn/browser-compat-data).

+ + + +

{{Compat("http.status.451")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/500/index.html b/files/ja/web/http/status/500/index.html new file mode 100644 index 0000000000..0803928c2f --- /dev/null +++ b/files/ja/web/http/status/500/index.html @@ -0,0 +1,51 @@ +--- +title: 500 Internal Server Error +slug: Web/HTTP/Status/500 +tags: + - HTTP + - Server error + - Status code + - サーバーエラー + - ステータスコード +translation_of: Web/HTTP/Status/500 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 500 Internal Server Error サーバーエラーレスポンスコードは、サーバーがリクエストを実行を妨げる予期しない条件に遭遇したことを示します。

+ +

このエラーレスポンスは一般的な "catch-all" レスポンスです。普通、これはサーバーがレスポンスに対してより適切な 5xx のエラーコードを見つけることができなかったことを示します。サーバーの管理者は、ステータスコード 500 のようなエラーレスポンスをリクエストに関する詳細情報と共に記録し、将来同じエラーが発生することを防ぐ場合もあります。

+ +

ステータス

+ +
500 Internal Server Error
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "500 Internal Server Error" , "6.6.1")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ +

以下に示す情報は、 MDN の GitHub から取得したものです。 (https://github.com/mdn/browser-compat-data).

+ + + +

{{Compat("http.status.500")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/501/index.html b/files/ja/web/http/status/501/index.html new file mode 100644 index 0000000000..09dd77259f --- /dev/null +++ b/files/ja/web/http/status/501/index.html @@ -0,0 +1,54 @@ +--- +title: 501 Not Implemented +slug: Web/HTTP/Status/501 +tags: + - HTTP + - Server error + - Status code +translation_of: Web/HTTP/Status/501 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 501 Not Implemented サーバーエラーレスポンスコードは、サーバーがリクエストを満たすのに必要な機能に対応していないことを示します。

+ +

このステータスは {{HTTPHeader("Retry-After")}} ヘッダーを送信することもでき、いつまでに機能を機能がサポートされているかどうかを確認するためのチェックバックのタイミングを要求元に伝えることができます。

+ +

501 は、サーバーがリクエストメソッドを理解できず、あるリソースに対して対応することができない場合のレスポンスに適切です。サーバーが対応する必要がある (したがって、 501 を返す必要がない) メソッドは {{HTTPMethod("GET")}} と {{HTTPMethod("HEAD")}} だけです。

+ +

サーバーがそのメソッドを理解していて、意図的に対応していない場合は、適切なレスポンスは {{HTTPStatus(405, "405 Method Not Allowed")}} です。

+ +
+ +
+ +

ステータス

+ +
501 Not Implemented
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "501 Not Implemented" , "6.6.2")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ +

以下に示す情報は、 MDN の GitHub から取得したものです。 (https://github.com/mdn/browser-compat-data).

+ + + +

{{Compat("http.status.501")}}

diff --git a/files/ja/web/http/status/502/index.html b/files/ja/web/http/status/502/index.html new file mode 100644 index 0000000000..48977af070 --- /dev/null +++ b/files/ja/web/http/status/502/index.html @@ -0,0 +1,55 @@ +--- +title: 502 Bad Gateway +slug: Web/HTTP/Status/502 +tags: + - HTTP + - Server error + - Status code + - サーバーエラー + - ステータスコード +translation_of: Web/HTTP/Status/502 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 502 Bad Gateway サーバーエラーレスポンスコードは、ゲートウェイまたはプロキシとして機能しているサーバーが上流のサーバーから無効なレスポンスを受け取ったことを示しています。

+ +
+

メモ: {{interwiki("wikipedia", "Gateway_(telecommunications)", "ゲートウェイ")}}はネットワークの様々なものを指す可能性があり、 502 エラーは通常修正できるものではありませんが、ウェブサーバーまたはアクセスを中継させようとしているプロキシによる修正が必要です。

+
+ +

ステータス

+ +
502 Bad Gateway
+
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "502 Bad Gateway" , "6.6.3")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ +

以下に示す情報は、 MDN の GitHub から取得したものです。 (https://github.com/mdn/browser-compat-data).

+ + + +

{{Compat("http.status.502")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/503/index.html b/files/ja/web/http/status/503/index.html new file mode 100644 index 0000000000..23d6ea8581 --- /dev/null +++ b/files/ja/web/http/status/503/index.html @@ -0,0 +1,59 @@ +--- +title: 503 Service Unavailable +slug: Web/HTTP/Status/503 +tags: + - HTTP + - Reference + - Server error + - Status code + - サーバーエラー + - ステータスコード +translation_of: Web/HTTP/Status/503 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 503 Service Unavailable サーバーエラーレスポンスコードで、サーバーがリクエストを処理する準備ができていないことを示します。

+ +

一般的な原因は、サーバーがメンテナンス中のために停止していることや、過負荷状態になっていることです。このレスポンスは、一時的な条件に使用する必要があり、 {{HTTPHeader("Retry-After")}} HTTP ヘッダーには、もし可能であれば、サービスの復旧に要する予想時間を含めるべきです。

+ +
+

メモ: このレスポンスと共に、問題を分かりやすく説明するページを送信する必要があります。

+
+ +

503 のステータスはしばしば一時的な状態であり、レスポンスは頻繁にキャッシュされるべきではないため、このレスポンスと共に送信されるキャッシュ関連のヘッダーは注意する必要があります。

+ +

ステータス

+ +
503 Service Unavailable
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "503 Service Unavailable" , "6.6.4")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ +

以下に示す情報は、 MDN の GitHub から取得したものです。 (https://github.com/mdn/browser-compat-data).

+ + + +

{{Compat("http.status.503")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/504/index.html b/files/ja/web/http/status/504/index.html new file mode 100644 index 0000000000..cea5ed169b --- /dev/null +++ b/files/ja/web/http/status/504/index.html @@ -0,0 +1,54 @@ +--- +title: 504 Gateway Timeout +slug: Web/HTTP/Status/504 +tags: + - HTTP + - Server error + - Status code + - サーバーエラー + - ステータスコード +translation_of: Web/HTTP/Status/504 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) 504 Gateway Timeout サーバーエラーレスポンスコードは、サーバーがゲートウェイまたはプロキシとして機能しているときに、リクエストを完了するために必要な上流のサーバーからのレスポンスが時間内に得られなかったことを示します。

+ +
+

メモ: {{interwiki("wikipedia", "Gateway_(telecommunications)", "ゲートウェイ")}}はネットワーク内の様々なものを指す可能性があり、 504 エラーはふつう、自分で修正できるものではありませんが、アクセスしようとしているウェブサーバーやプロキシで修正する必要があります。

+
+ +

ステータス

+ +
504 Gateway Timeout
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7231", "504 Gateway Timeout" , "6.6.5")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

ブラウザーの互換性

+ +

以下に示す情報は、 MDN の GitHub から取得したものです。 (https://github.com/mdn/browser-compat-data).

+ + + +

{{Compat("http.status.504")}}

+ +

関連情報

+ + diff --git a/files/ja/web/http/status/505/index.html b/files/ja/web/http/status/505/index.html new file mode 100644 index 0000000000..4aee2ab633 --- /dev/null +++ b/files/ja/web/http/status/505/index.html @@ -0,0 +1,38 @@ +--- +title: 505 HTTP Version Not Supported +slug: Web/HTTP/Status/505 +tags: + - HTTP + - サーバーエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/505 +--- +

{{HTTPSidebar}}

+ +

HyperText Transfer Protocol (HTTP) 505 HTTP Version Not Supported レスポンスステータスコードは、リクエストで使用されている HTTP バージョンがサーバーによってサポートされていないことを示します。

+ +

ステータス

+ +
505 HTTP Version Not Supported
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("7231", "505 HTTP Version Not Supported" , "6.6.6")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/506/index.html b/files/ja/web/http/status/506/index.html new file mode 100644 index 0000000000..675a5ba587 --- /dev/null +++ b/files/ja/web/http/status/506/index.html @@ -0,0 +1,35 @@ +--- +title: 506 Variant Also Negotiates +slug: Web/HTTP/Status/506 +tags: + - HTTP + - Server error + - Status code +translation_of: Web/HTTP/Status/506 +--- +
{{HTTPSidebar}}
+ +

The HyperText Transfer Protocol (HTTP) 506 Variant Also Negotiates レスポンスステータスコードは、透過的コンテンツネゴシエーション (transparent content negotiation) のコンテキストで提供される場合があります (参照 RFC 2295)。このプロトコルは、サーバーが複数のバリアントに対応している場合に、クライアントが与えられたリソースの最良のバリアントを取得することを可能にします。

+ +

Variant Also Negotiates ステータスコードは、選択されたバリアント自体がコンテンツネゴシエーションに関与するように構成されているため、適切なネゴシエーションエンドポイントではない内部サーバー構成エラーを示します。

+ +

ステータス

+ +
506 Variant Also Negotiates
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("2295", "506 Variant Also Negotiates" , "8.1")}}Transparent Content Negotiation in HTTP
diff --git a/files/ja/web/http/status/507/index.html b/files/ja/web/http/status/507/index.html new file mode 100644 index 0000000000..9f3c7bffc1 --- /dev/null +++ b/files/ja/web/http/status/507/index.html @@ -0,0 +1,35 @@ +--- +title: 507 Insufficient Storage +slug: Web/HTTP/Status/507 +tags: + - HTTP + - Server error + - Status code +translation_of: Web/HTTP/Status/507 +--- +
{{HTTPSidebar}}
+ +

The HyperText Transfer Protocol (HTTP) 507 Insufficient Storage レスポンスステータスコードは、Web Distributed Authoring and Versioning (WebDAV) プロトコルのコンテキストで提供される場合があります。 (参照 RFC 4918)

+ +

サーバーが、リクエストを正常終了するために必要な表現を保存できないため、メソッドを実行できなかったことを示します。

+ +

ステータス

+ +
507 Insufficient Storage
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("4918", "507 Insufficient Storage" , "11.5")}}Web Distributed Authoring and Versioning
diff --git a/files/ja/web/http/status/508/index.html b/files/ja/web/http/status/508/index.html new file mode 100644 index 0000000000..6e46ceeec4 --- /dev/null +++ b/files/ja/web/http/status/508/index.html @@ -0,0 +1,38 @@ +--- +title: 508 Loop Detected +slug: Web/HTTP/Status/508 +tags: + - '508' + - HTTP + - Server error + - Status code + - サーバーエラー + - ステータスコード +translation_of: Web/HTTP/Status/508 +--- +
{{HTTPSidebar}}
+ +

The HyperText Transfer Protocol (HTTP) の 508 Loop Detected レスポンスステータスコードは、 Web Distributed Authoring and Versioning (WebDAV) プロトコルの文脈で発生する可能性があります。

+ +

これは "Depth: infinity" がついたリクエストを処理する際に無限ループに陥ったために、サーバーが操作を終了させたことを示します。このステータスは操作全体が失敗したことを示します。

+ +

ステータス

+ +
508 Loop Detected
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("5842", "508 Loop Detected" , "7.2")}}Web Distributed Authoring and Versioning
diff --git a/files/ja/web/http/status/510/index.html b/files/ja/web/http/status/510/index.html new file mode 100644 index 0000000000..d6534b2037 --- /dev/null +++ b/files/ja/web/http/status/510/index.html @@ -0,0 +1,33 @@ +--- +title: 510 Not Extended +slug: Web/HTTP/Status/510 +tags: + - HTTP + - Server error + - Status code +translation_of: Web/HTTP/Status/510 +--- +
{{HTTPSidebar}}
+ +

HyperText Transfer Protocol (HTTP) の 510 Not Extended レスポンスステータスコードは、RFC 2774 が定義する HTTP 拡張フレームワークのコンテキストで送信されます。

+ +

その仕様では、クライアントは、使用する拡張を記述する拡張宣言を含むリクエストを送信できます。 サーバーがそのようなリクエストを受信しても、記述されている拡張をそのリクエストに対してサポートしていない場合、サーバーは 510 ステータスコードで応答します。

+ +

ステータス

+ +
510 Not Extended
+ +

仕様

+ + + + + + + + + + + + +
仕様タイトル
{{RFC("2774", "510 Not Extended" , "7")}}An HTTP Extension Framework
diff --git a/files/ja/web/http/status/511/index.html b/files/ja/web/http/status/511/index.html new file mode 100644 index 0000000000..14d0adeba4 --- /dev/null +++ b/files/ja/web/http/status/511/index.html @@ -0,0 +1,43 @@ +--- +title: 511 Network Authentication Required +slug: Web/HTTP/Status/511 +tags: + - HTTP + - HTTPステータスコード + - サーバーエラー + - ステータスコード + - リファレンス +translation_of: Web/HTTP/Status/511 +--- +

{{HTTPSidebar}}

+ +

HTTP 511 Network Authentication Required レスポンスステータスコードは、クライアントがネットワークアクセスを取得するために認証する必要があることを示します。

+ +

この状態は、オリジンサーバーによって生成されるのではなく、ネットワークへのアクセスを制御するプロキシをインターセプトすることによって生成されます。

+ +

ネットワークオペレータは、アクセスを許可する前 (インターネットカフェや空港などで) に何らかの認証、条件の受け入れ、またはその他のユーザー対話を必要とすることがあります。彼らはしばしば、Media Access Control ({{Glossary("MAC")}}) アドレスを使用していないクライアントを識別します。

+ +

ステータス

+ +
511 Network Authentication Required
+ +

仕様

+ + + + + + + + + + + + +
仕様書タイトル
{{RFC("6585", "511 Network Authentication Required" , "6")}}Additional HTTP Status Codes
+ +

関連情報

+ + diff --git a/files/ja/web/http/status/index.html b/files/ja/web/http/status/index.html new file mode 100644 index 0000000000..39478f7b18 --- /dev/null +++ b/files/ja/web/http/status/index.html @@ -0,0 +1,201 @@ +--- +title: HTTP レスポンスステータスコード +slug: Web/HTTP/Status +tags: + - HTTP + - HTTP ステータスコード + - Landing + - Reference + - ウェブ + - ステータスコード + - 概要 +translation_of: Web/HTTP/Status +--- +
{{HTTPSidebar}}
+ +

HTTP レスポンスステータスコードは、特定の HTTP リクエストが正常に完了したどうかを示します。レスポンスは 5 つのクラスに分類されています。

+ +
    +
  1. 情報レスポンス (100199),
  2. +
  3. 成功レスポンス (200299),
  4. +
  5. リダイレクト (300399),
  6. +
  7. クライアントエラー (400499),
  8. +
  9. サーバエラー (500599)
  10. +
+ +

以下のステータスコードは RFC 2616 の第10章で定義されています。更新版の仕様書は RFC 7231 にあります。

+ +
+

この一覧にないレスポンスを受け取った場合、これは標準外のレスポンスであり、おそらくそのサーバーソフトウェアに固有のものです。

+
+ +

情報レスポンス

+ +
+
{{HTTPStatus(100, "100 Continue")}}
+
これは暫定レスポンスで、その時点までのすべてに問題がなく、クライアントはリクエストを継続してよい、またもしリクエストが完了している場合はレスポンスを無視してよいことを示します。
+
{{HTTPStatus(101, "101 Switching Protocol")}}
+
このコードはクライアントからの {{HTTPHeader("Upgrade")}} リクエストヘッダーのレスポンスとして送信され、サーバーはプロトコルを切り替えていることを示します。
+
{{HTTPStatus(102, "102 Processing")}} ({{Glossary("WebDAV")}})
+
このコードは、サーバーはリクエストを受け取って処理しているが、まだレスポンスを提供できないことを示します。
+
{{HTTPStatus(103, "103 Early Hints")}}
+
このステータスコードは主に {{HTTPHeader("Link")}} ヘッダーとともに使用され、サーバーがリソースを準備している間、ユーザーエージェントがリソースの先読みを開始できるようにするためのものです。
+
+ +

成功レスポンス

+ +
+
{{HTTPStatus(200, "200 OK")}}
+
リクエストが成功したことを示します。成功が意味することは、 HTTP メソッドにより異なります。 +
    +
  • GET: リソースが読み込まれ、メッセージ本文で転送された。
  • +
  • HEAD: メッセージ本文にエンティティヘッダーある。
  • +
  • PUT または POST: 操作の結果を表すリソースがメッセージ本文で送信される。
  • +
  • TRACE: メッセージ本文に、サーバーが受け取ったリクエストメッセージが含まれている。
  • +
+
+
{{HTTPStatus(201, "201 Created")}}
+
リクエストは成功し、その結果新たなリソースが作成されたことを示します。これは一般的に、 POST リクエストや、一部の PUT リクエストを送信した後のレスポンスになります。
+
{{HTTPStatus(202, "202 Accepted")}}
+
リクエストは受理されたが、まだ実行されていないことを示します。これはあいまいであり、なぜなら HTTP ではリクエストを処理した結果を示す非同期なレスポンスを後から送信する方法がないためです。リクエストは別のプロセスかサーバーが処理する、またはバッチ処理する予定です。
+
{{HTTPStatus(203, "203 Non-Authoritative Information")}}
+
このレスポンスコードは、返されるメタ情報のセットが生成元のサーバーから得られるセットと同一ではなく、ローカルまたは第三者の持つ複製から収集したことを表します。これは主に、他のリソースのミラーやバックアップを使用したときに使用されます。このような場合以外は、このステータスより "200 OK" のほうが好ましいレスポンスです。
+
{{HTTPStatus(204, "204 No Content")}}
+
リクエストに対して送信するコンテンツはありませんが、ヘッダーは有用であることを示します。ユーザーエージェントはこのリソースに関するキャッシュ済みのヘッダーを、新たな内容に更新します。
+
{{HTTPStatus(205, "205 Reset Content")}}
+
ユーザーエージェントに対し、リクエストを送信した文書をリセットするよう伝達します。
+
{{HTTPStatus(206, "206 Partial Content")}}
+
このレスポンスコードは、クライアントが {{HTTPHeader("Range")}} ヘッダーを送信し、リソースの一部だけをリクエストした時に使用されます。
+
{{HTTPStatus(207, "207 Multi-Status")}} ({{Glossary("WebDAV")}})
+
複数のステータスコードがあてはまる状況で、複数のリソースに関する情報を伝えます。
+
{{HTTPStatus(208, "208 Already Reported")}} ({{Glossary("WebDAV")}})
+
同じコレクションに繰り返し複数のバインディングする内部メンバーを列挙することを避けるため、 <dav:propstat> レスポンスエレメントの内部で使用します。
+
{{HTTPStatus(226, "226 IM Used")}} (HTTP Delta encoding)
+
サーバーはリソースへの GET リクエストの処理を完了しており、レスポンスは現在のインスタンスに適用された 1 つ以上の instance manipulation の結果を表します。
+
+ +

リダイレクションメッセージ

+ +
+
{{HTTPStatus(300, "300 Multiple Choice")}}
+
リクエストに対して複数のレスポンスがあることを示します。ユーザーエージェントやユーザーは、それらからひとつを選択します。 (複数のレスポンスからひとつを選ぶ方法は標準化されていませんが、選択肢へリンクする HTML が推奨されており、それによってユーザーが選択することができます。)
+
{{HTTPStatus(301, "301 Moved Permanently")}}
+
リクエストされたリソースの URL が永遠に変更されたことを示します。レスポンスで新しい URL が与えられます。
+
{{HTTPStatus(302, "302 Found")}}
+
このレスポンスコードは、リクエストされたリソースの URI が一時的に変更されたことを示します。 URI は将来、さらに変更される可能性があります。従って、クライアントは将来のリクエストでも同じ URI を使用するべきです。
+
{{HTTPStatus(303, "303 See Other")}}
+
サーバーはこのレスポンスを、リクエストされたリソースを別の URI で GET リクエストを使用して取得するようクライアントを誘導するために送信します。
+
{{HTTPStatus(304, "304 Not Modified")}}
+
これはキャッシュ用に使用します。このレスポンスコードはクライアントに対して、レスポンスは変更されていないことを示します。よって、クライアントはキャッシュ済みのレスポンスを使い続けます。
+
305 Use Proxy {{deprecated_inline}}
+
これは旧バージョンの HTTP 仕様書で、リクエストされたレスポンスはプロキシからアクセスしなければならないことを示していました。プロキシのインバンド設定に関するセキュリティの懸念により、このレスポンスコードは非推奨になりました。
+
306 unused
+
このレスポンスコードはもう使用されず、予約済みです。 HTTP/1.1 仕様書の旧バージョンでは使用されていました。
+
{{HTTPStatus(307, "307 Temporary Redirect")}}
+
サーバーはこのレスポンスを、リクエストされたリソースを別の URI で、元のリクエストと同じメソッドを使用して取得するようクライアントを誘導するために送信します。これは 302 Found HTTP レスポンスコードと同じ意味を持ちますが、ユーザーエージェントは使用する HTTP メソッドを変更してはならない点が異なります。始めのリクエストで POST を用いた場合は、次のリクエストでも POST を使用しなければなりません。
+
{{HTTPStatus(308, "308 Permanent Redirect")}}
+
これは、リソースが Location: HTTP レスポンスヘッダーで指定した別の URI へ永続的に置かれていることを示します。これは 301 Moved Permanently HTTP レスポンスコードと同じ意味を持ちますが、ユーザーエージェントは使用する HTTP メソッドを変更してはならない点が異なります。始めのリクエストで POST を用いた場合は、次のリクエストでも POST を使用しなければなりません。
+
+ +

クライアントエラーレスポンス

+ +
+
{{HTTPStatus(400, "400 Bad Request")}}
+
構文が無効であるためサーバーがリクエストを理解できないことを示します。
+
{{HTTPStatus(401, "401 Unauthorized")}}
+
HTTP 標準では "unauthorized" (不許可) と定義されていますが、意味的にはこのレスポンスは "unauthenticated" (未認証) です。つまり、クライアントはリクエストされたレスポンスを得るためには認証を受けなければなりません。
+
{{HTTPStatus(402, "402 Payment Required")}} {{experimental_inline}}
+
このレスポンスコードは、将来のために予約されています。このコードは当初、デジタル決済システムで使用するために作成されましたが、ごく稀にしか使用されておらず、標準的な慣例はありません。
+
{{HTTPStatus(403, "403 Forbidden")}}
+
認証されていないなどの理由でクライアントにコンテンツのアクセス権がなく、サーバーが適切なレスポンスの返信を拒否していることを示します。 401 とは異なり、クライアントの識別子がサーバーに知られています。
+
{{HTTPStatus(404, "404 Not Found")}}
+
サーバーがリクエストされたリソースを発見できないことを示します。ブラウザーでは、これは URL が解釈できなかったことを意味します。 API では、これは通信先が有効であるものの、リソース自体が存在しないことを意味することがあります。サーバーは認証されていないクライアントからリソースの存在を隠すために、 403 の代わりにこのレスポンスを返すことがあります。このレスポンスコードはウェブで頻繁に見られるため、おそらくもっとも有名なコードでしょう。
+
{{HTTPStatus(405, "405 Method Not Allowed")}}
+
サーバーがリクエストメソッドを理解しているものの、無効にされており使用することができません。例えば、 API がリソースを DELETE することを禁止できます。 GET および HEAD の二つは必須で、無効にすることができず、このエラーコードを返してはいけません。
+
{{HTTPStatus(406, "406 Not Acceptable")}}
+
このレスポンスは、ウェブサーバーが サーバー駆動型コンテンツネゴシエーション を行った結果、ユーザーエージェントから与えられた条件に合うコンテンツが見つからない場合に送信されます。
+
{{HTTPStatus(407, "407 Proxy Authentication Required")}}
+
これは 401 に似ていますが、プロキシサーバーが認証を要求している点が異なります。
+
{{HTTPStatus(408, "408 Request Timeout")}}
+
このレスポンスはクライアントが以前にリクエストを行っていない、アイドル状態のコネクションにおいて一部のサーバーが送信します。サーバーは使用していないコネクションの終了を望むことを示します。このレスポンスは Chrome、 Firefox 27 以降、IE9 など、閲覧を高速化するための HTTP 事前接続機能を使用する一部のブラウザーでよく使用します。また、一部のサーバーはこのメッセージを送らずにコネクションを閉じることに注意してください。
+
{{HTTPStatus(409, "409 Conflict")}}
+
このレスポンスは、リクエストがサーバーの現在の状態と矛盾する場合に送られるでしょう。
+
{{HTTPStatus(410, "410 Gone")}}
+
このレスポンスは、リクエストされたコンテンツがサーバーから永久に削除され、転送先アドレスがない場合に送られます。クライアントはこのリソースへのキャッシュやリンクを削除することが期待されます。 HTTP 仕様書ではこのコードを「期間限定のプロモーションサービス」に使用することを意図しています。 API はこのステータスコードの場合、削除されたリソースを無理に示そうとするべきではありません。
+
{{HTTPStatus(411, "411 Length Required")}}
+
サーバーが Content-Length ヘッダー項目を要求しているが、リクエストで定義されていないために、サーバーがリクエストを拒否したことを示します。
+
{{HTTPStatus(412, "412 Precondition Failed")}}
+
サーバー側で適合しない前提条件が、クライアント側のヘッダーに含まれていることを示します。
+
{{HTTPStatus(413, "413 Payload Too Large")}}
+
リクエストの本体がサーバーで定めている上限を超えていることを示します。サーバーはコネクションを閉じるか、Retry-After ヘッダー項目を返します。
+
{{HTTPStatus(414, "414 URI Too Long")}}
+
クライアントがリクエストした URI が、サーバーで扱える長さを超えていることを示します。
+
{{HTTPStatus(415, "415 Unsupported Media Type")}}
+
リクエストされたデータのメディア形式をサーバーが対応しておらず、サーバーはリクエストを拒否したことを示します。
+
{{HTTPStatus(416, "416 Range Not Satisfiable")}}
+
リクエスト内の Range ヘッダー項目で指定された範囲を満たすことができないことを示します。指定した範囲が、目的の URI のデータサイズを超えている可能性があります。
+
{{HTTPStatus(417, "417 Expectation Failed")}}
+
このレスポンスコードは、Expect リクエストヘッダーで指定された内容がサーバー側と適合しないことを示します。
+
{{HTTPStatus(418, "418 I'm a teapot")}}
+
サーバーは、ティーポットでコーヒーを淹れようとする試みを拒否します。
+
{{HTTPStatus(421, "421 Misdirected Request")}}
+
リクエストは、レスポンスを生成できないサーバーに送られました。リクエストの URI に含まれているスキームや権限の組み合わせに対してレスポンスを生成するよう設定されていないサーバーが、このコードを送ることがあります。
+
{{HTTPStatus(422, "422 Unprocessable Entity")}} ({{Glossary("WebDAV")}})
+
リクエストは適正ですが、意味が誤っているために従うことができません。
+
{{HTTPStatus(423, "423 Locked")}} ({{Glossary("WebDAV")}})
+
アクセス中のリソースはロックされています。
+
{{HTTPStatus(424, "424 Failed Dependency")}} ({{Glossary("WebDAV")}})
+
前のリクエストが失敗したため、このリクエストも失敗しました。
+
{{HTTPStatus(425, "425 Too Early")}}
+
サーバーが、繰り返される可能性のあるリクエストを処理するリスクを望まないことを示します。
+
{{HTTPStatus(426, "426 Upgrade Required")}}
+
サーバーは現在のプロトコルを使用したリクエストの実行を拒否しましたが、クライアントが別のプロトコルにアップグレードした後は受け入れることができます。サーバーは必要なプロトコルを示すために、426 のレスポンスで {{HTTPHeader("Upgrade")}} ヘッダー項目を送信しなければなりません。
+
{{HTTPStatus(428, "428 Precondition Required")}}
+
オリジンサーバーはリクエストが条件付きになることを必要としています。このレスポンスは「ロストアップデート問題」 (クライアントがリソースの状態を取得して変更およびサーバーに送信している間に、第三者がサーバーの状態を変更して競合が発生すること) を防ごうとするものです。
+
{{HTTPStatus(429, "429 Too Many Requests")}}
+
ユーザーは一定の時間内に大量のリクエストを送信しました ("レート制限")。
+
{{HTTPStatus(431, "431 Request Header Fields Too Large")}}
+
ヘッダー項目が大きすぎるため、サーバーはリクエストの処理を望みません。ヘッダー項目のサイズを削減した後に、リクエストを再送信できます。
+
{{HTTPStatus(451, "451 Unavailable For Legal Reasons")}}
+
ユーザーエージェントが政府によって検閲されたウェブページなど、違法なリソースをリクエストしています。
+
+ +

サーバーエラーレスポンス

+ +
+
{{HTTPStatus(500, "500 Internal Server Error")}}
+
サーバー側で処理方法がわからない事態が発生したことを示します。
+
{{HTTPStatus(501, "501 Not Implemented")}}
+
リクエストメソッドをサーバーが対応しておらず、扱えないことを示します。サーバーが対応しなければならない (従って、このコードを返してはならない) メソッドは GETHEAD だけです。
+
{{HTTPStatus(502, "502 Bad Gateway")}}
+
このエラーレスポンスは、リクエストの処理に必要なレスポンスを受け取るゲートウェイとして動作するサーバーが無効なレスポンスを受け取ったことを示します。
+
{{HTTPStatus(503, "503 Service Unavailable")}}
+
サーバーはリクエストを処理する準備ができていないことを示します。一般的な原因は、サーバーがメンテナンスや過負荷でダウンしていることです。このレスポンスとともに問題について説明する、ユーザーにわかりやすいページを送信するべきであることに注意してください。このレスポンスは一時的な状況について使用するものであり、また可能であれば、サービスが復旧する前に Retry-After: HTTP ヘッダーに予定時刻を含めるべきです。また、これら一時的な状況のレスポンスは通常キャッシュされるべきではないことから、ウェブ管理者はこのレスポンスとともに送られるキャッシュ関連のヘッダーに注意しなければなりません。
+
{{HTTPStatus(504, "504 Gateway Timeout")}}
+
このエラーレスポンスは、ゲートウェイとして動作するサーバーが時間内にレスポンスを得られない場合に送られます。
+
{{HTTPStatus(505, "505 HTTP Version Not Supported")}}
+
リクエストで使用した HTTP のバージョンをサーバーが対応していないことを示します。
+
{{HTTPStatus(506, "506 Variant Also Negotiates")}}
+
サーバーに内部構成エラーがあることを示します。選択したバリアントリソースが透過的コンテンツネゴシエーション自体に携わるよう設定されており、ネゴシエーションプロセスが正しく終了しなかったことを示します。
+
{{HTTPStatus(507, "507 Insufficient Storage")}} ({{Glossary("WebDAV")}})
+
サーバーがリクエストを完了させるのに必要な表現を保存することができなかったため、メソッドがリソースに対して実行できなかったことを示します。
+
{{HTTPStatus(508, "508 Loop Detected")}} ({{Glossary("WebDAV")}})
+
サーバーは、リクエストの処理中に無限ループを検出しました。
+
{{HTTPStatus(510, "510 Not Extended")}}
+
サーバーがリクエストを処理するために、リクエストをさらに拡張することが必要です。
+
{{HTTPStatus(511, "511 Network Authentication Required")}}
+
ステータスコード 511 は、クライアントがネットワークでアクセスするために認証が必要であることを示します。
+
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf