- Property Manager name: Content Type
- Criteria version: The
v2024-05-31
rule format supports thecontent_type
criteria v1.1. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: Yes
Matches the HTTP response header's Content-Type
.
Warning. The Content Type match was updated in April 2023 and the change affects configurations that implement it together with the
gzip_response
behavior. With the new change, if the origin server sends out the content in an uncompressed format, the Akamai edge servers cache it and deliver it to the requesting client in the compressed .gzip format. Clients using the Content-Length response header to determine the file size will now see the compressed size of the object returned from Akamai, rather than the uncompressed size of the object returned from the origin. If you updated your property configuration after April 3rd 2023, yourcontentType
match is affected by this change.
Option | Type | Description | Requires | |
---|---|---|---|---|
match_operator | enum | Matches any | {"displayType":"enum","options":["IS_ONE_OF","IS_NOT_ONE_OF"],"tag":"select"} | |
IS_ONE_OF | Matches any | |||
IS_NOT_ONE_OF | Matches none of the specified | |||
values | string array |
| {"displayType":"string array","tag":"input","todo":true} | |
match_wildcard | boolean | Allows wildcards in the | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
match_case_sensitive | boolean | Sets a case-sensitive match for all | {"displayType":"boolean","tag":"input","type":"checkbox"} |