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-ch/index.html | 59 ++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 files/ja/web/http/headers/accept-ch/index.html (limited to 'files/ja/web/http/headers/accept-ch') diff --git a/files/ja/web/http/headers/accept-ch/index.html b/files/ja/web/http/headers/accept-ch/index.html new file mode 100644 index 0000000000..1eba06b9ad --- /dev/null +++ b/files/ja/web/http/headers/accept-ch/index.html @@ -0,0 +1,59 @@ +--- +title: Accept-CH +slug: Web/HTTP/Headers/Accept-CH +tags: + - Client hints + - HTTP + - HTTP Header +translation_of: Web/HTTP/Headers/Accept-CH +--- +
{{HTTPSidebar}}{{securecontext_header}}{{SeeCompatTable}}
+ +

Accept-CH ヘッダーはサーバーによって設定され、クライアントが後続のリクエストに含める{{glossary("Client Hints", "クライアントヒント")}}ヘッダーを指定します。

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

注: クライアントヒントには、安全なオリジン (TLS 経由) でのみアクセスできます。 Accept-CH ヘッダーと Accept-CH-Lifetime ヘッダーは、クライアントヒントが確実に送信されるように、すべての安全なリクエストに対して保持する必要があります。

+
+ +

構文

+ +
Accept-CH: <list of client hints>
+
+ +

+ +
Accept-CH: DPR, Viewport-Width
+Accept-CH: Width
+Accept-CH-Lifetime: 86400
+Vary: DPR, Viewport-Width, Width
+
+ +
+

注: 受け入れられたクライアントのヒントに基づいて、レスポンスを変更することを忘れないでください。

+
+ +

ブラウザーの互換性

+ + + +

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

+ +

関連情報

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