- Property Manager name: Content Type
- Criteria version: The
v2024-10-21
rule format supports thecontentType
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
gzipResponse
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 | |
---|---|---|---|---|
matchOperator | 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} | |
matchWildcard | boolean | Allows wildcards in the | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
matchCaseSensitive | boolean | Sets a case-sensitive match for all | {"displayType":"boolean","tag":"input","type":"checkbox"} |