http.response.content_type.media_type
http.response.content_type.media_typeStringレスポンスの Content-Type ヘッダーに基づく、追加パラメーターなしの小文字のコンテンツタイプ(サブタイプとサフィックスを含む)です。
フィールド値に charset などのパラメーターは含まれません。
値の例:
Content-Type ヘッダー |
フィールド値 |
|---|---|
text/html |
"text/html" |
text/html; charset=utf-8 |
"text/html" |
text/html+extra |
"text/html+extra" |
text/html+extra; charset=utf-8 |
"text/html+extra" |
text/HTML |
"text/html" |
text/html; charset=utf-8; other=value |
"text/html" |
注: HTTP レスポンスフィールドが使えるかは、Cloudflare の機能とプランによって異なります。
カテゴリ:
- レスポンス
- ヘッダー