aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/http/status/204
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/http/status/204
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/http/status/204')
-rw-r--r--files/ja/web/http/status/204/index.html46
1 files changed, 46 insertions, 0 deletions
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
+---
+<p>{{HTTPSidebar}}</p>
+
+<p>HTTP のレスポンスコード <strong><code>204 No Content</code></strong> は、リクエストが成功した事を示しますが、クライアントは現在のページから遷移する必要はありません。レスポンスコード 204 が返された場合は、デフォルトでキャッシュ可能になっています。そのようなレスポンスには、{{HTTPHeader("ETag")}} ヘッダーが含まれています。</p>
+
+<p>レスポンスコード 204 は、主に、ユーザーに表示されるコンテンツ (ページの内容) の変更が不要な、{{HTTPMethod("PUT")}} リクエスト、リソースのアップデートなどに用いられます。リソースが作成される場合は、204 の代わりに、レスポンスコード {{HTTPStatus("201")}} <code>Created</code> が返されます。リクエスト後にページ内容の更新が必要な場合、レスポンスコード {{HTTPStatus("200")}} を用います。</p>
+
+<h2 id="ステータス">ステータス</h2>
+
+<pre class="syntaxbox">204 No Content</pre>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">仕様</th>
+ <th scope="col">タイトル</th>
+ </tr>
+ <tr>
+ <td>{{RFC("7231", "204 No Content" , "6.3.5")}}</td>
+ <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザの互換性">ブラウザの互換性</h2>
+
+<p class="hidden">このページの互換表は構造化データから生成されます。データに貢献したい場合は <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックし、プルリクエストを送信してください。</p>
+
+<p>{{Compat("http/status", "204")}}</p>
+
+<h2 id="参照">参照</h2>
+
+<ul>
+ <li><a href="/docs/Web/HTTP/Methods">HTTP リクエストのメソッド</a></li>
+</ul>