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/headers/accept-patch/index.html | 88 +++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 files/ja/web/http/headers/accept-patch/index.html (limited to 'files/ja/web/http/headers/accept-patch/index.html') diff --git a/files/ja/web/http/headers/accept-patch/index.html b/files/ja/web/http/headers/accept-patch/index.html new file mode 100644 index 0000000000..07bbf32d40 --- /dev/null +++ b/files/ja/web/http/headers/accept-patch/index.html @@ -0,0 +1,88 @@ +--- +title: Accept-Patch +slug: Web/HTTP/Headers/Accept-Patch +tags: + - HTTP + - Reference +translation_of: Web/HTTP/Headers/Accept-Patch +--- +
{{HTTPSidebar}}
+ +

Accept-Patch は HTTP のレスポンスヘッダーで、サーバーが認識できるメディアタイプを伝えます。

+ +

任意のメソッドに応答するAccept-Patchは、Request-URIで識別されるリソースで、 {{HTTPMethod("PATCH")}} が許可されることを意味します。 2つの一般的なケースがこれにつながります。

+ +

サポートされていないメディアタイプの {{HTTPMethod("PATCH")}} リクエストを受信したサーバーは、{{HTTPStatus("415")}} Unsupported Media Typeと、1つ以上のサポートされているメディアタイプを参照するAccept-Patchヘッダーで応答する可能性があります。

+ +
注: + + +
+ + + + + + + + + + + + +
ヘッダー種別{{Glossary("Response header", "レスポンスヘッダー")}}
{{Glossary("Forbidden header name", "禁止ヘッダー名")}}はい
+ +

構文

+ +
Accept-Patch: application/example, text/example
+Accept-Patch: text/example;charset=utf-8
+Accept-Patch: application/merge-patch+json
+
+ +

ディレクティブ

+ +

なし

+ +

+ +
Accept-Patch: application/example, text/example
+
+Accept-Patch: text/example;charset=utf-8
+
+Accept-Patch: application/merge-patch+json
+
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("5789", "Accept-Patch", "3.1")}}HTTP PATCH
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.headers.Accept-Patch")}}

+ +

関連情報

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