---
updatedAt: 2026-11-02T09:38:55.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/property-mgr/llms.txt
---

# Content Type

[block:callout]
{
  "type": "warning",
  "body": "The Content Type match was updated in April 2023 and the change affects the configurations that implement it together with the [Last Mile Acceleration](https://techdocs.akamai.com/property-mgr/docs/last-mile-accel-gzip-comp) behavior. With the new change, even 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. The clients using the Content Length response header to determine the file size will now see the compressed size.\n\nIf you updated your property configuration after April 3rd 2023, your Content Type match is affected by this change.",
  "title": "Content Type and Last Mile Acceleration (Gzip Compression)"
}
[/block]

# How does it work?

This criteria lets you match based on the `Content-Type` header value in the HTTP response.

There are limits to what you can do with response-based matches. Some features might have been applied at the client request stage and you can't override them with the response settings. Consider the following case: the edge server fetches the no-store content from the origin at the request stage. That means you can't turn off a property configuration's no-store setting with a response-based match.

# Operators

You can select the following logical conditions:

<table>

<caption>

</caption>

<colgroup>

<col>

<col>

</colgroup>

<thead>

<tr>

<th><strong>Value</strong> </th>

<th><strong>The Rule is True When...</strong> </th>

</tr>

</thead>

<tbody>

<tr>

<td>is one of</td>

<td>the incoming request header includes any of the specified content types.</td>

</tr>

<tr>

<td>is not one of</td>

<td>the incoming request header doesn't include any of the specified content types.</td>

</tr>

</tbody>

</table>

# Fields

Select the Content-Type response header from the drop-down list. You can enter the value manually, for example `text/html`.

# Wildcards

<table>

<caption>

</caption>

<colgroup>

<col>

<col>

<col>

</colgroup>

<thead>

<tr>

<th><strong>Wildcard</strong> </th>

<th><strong>Description</strong> </th>

<th><strong>Example</strong> </th>

</tr>

</thead>

<tbody>

<tr>

<td><strong>*</strong> </td>

<td>matches zero or more characters</td>

<td>The rule includes a match with content type <strong>text/*</strong>. Possible valid results are both <strong>text/html</strong> and <strong>text/css</strong>.</td>

</tr>

<tr>

<td><strong>?</strong> </td>

<td>matches a single character</td>

<td>The rule includes a match with content type <strong>text/cs?</strong>. Possible valid result is <strong>text/css</strong>.</td>

</tr>

</tbody>

</table>

# Additional options

* **Allow wildcards in value**: When enabled, allows *and ? wildcard matches among the values, so that specifying text/* matches both text/html and text/css.

* **Value case sensitivity**: If you select this option, the content type has to match the case of the entry.

# Sibling pages

* [Advanced Match](https://techdocs.akamai.com/property-mgr/docs/adv-match.md)
* [Akamai Server Location](https://techdocs.akamai.com/property-mgr/docs/akamai-server-location.md)
* [CDN Network](https://techdocs.akamai.com/property-mgr/docs/cdn-network.md)
* [ChinaCDN Region](https://techdocs.akamai.com/property-mgr/docs/chinacdn-region.md)
* [Client certificate](https://techdocs.akamai.com/property-mgr/docs/client-cert.md)
* [Client IP](https://techdocs.akamai.com/property-mgr/docs/client-ip.md)
* [Client IP Version](https://techdocs.akamai.com/property-mgr/docs/client-ip-version.md)
* [Conditional Origin ID](https://techdocs.akamai.com/property-mgr/docs/conditional-origin-id.md)
* [Content Provider Code](https://techdocs.akamai.com/property-mgr/docs/content-provider-code-match.md)
* [Debug Mode](https://techdocs.akamai.com/property-mgr/docs/debug-mode.md)
* [Device Characteristics](https://techdocs.akamai.com/property-mgr/docs/device-charac.md)
* [EdgeWorkers Execution Status](https://techdocs.akamai.com/property-mgr/docs/edge-workers-failure.md)
* [File Extension](https://techdocs.akamai.com/property-mgr/docs/file-ext.md)
* [Filename](https://techdocs.akamai.com/property-mgr/docs/filename-match.md)
* [Hostname](https://techdocs.akamai.com/property-mgr/docs/hn.md)
* [Image and Video Manager](https://techdocs.akamai.com/property-mgr/docs/img-video-manager.md)
* [Metadata Stage](https://techdocs.akamai.com/property-mgr/docs/metadata-stage.md)
* [Origin Timeout](https://techdocs.akamai.com/property-mgr/docs/origin-timeout.md)
* [Path](https://techdocs.akamai.com/property-mgr/docs/path-match.md)
* [Percentage of Clients](https://techdocs.akamai.com/property-mgr/docs/percentage-clients.md)
* [Query String Parameter](https://techdocs.akamai.com/property-mgr/docs/query-string-param.md)
* [Recovery Configuration Name](https://techdocs.akamai.com/property-mgr/docs/recovery-config-name.md)
* [Regex](https://techdocs.akamai.com/property-mgr/docs/regex.md)
* [Response Cacheability](https://techdocs.akamai.com/property-mgr/docs/response-cacheability.md)
* [Response Header](https://techdocs.akamai.com/property-mgr/docs/response-header.md)
* [Response Status Code](https://techdocs.akamai.com/property-mgr/docs/response-status-cookie.md)
* [Request Cookie](https://techdocs.akamai.com/property-mgr/docs/req-cookie.md)
* [Request Header](https://techdocs.akamai.com/property-mgr/docs/req-header.md)
* [Request Method](https://techdocs.akamai.com/property-mgr/docs/req-method.md)
* [Request Protocol](https://techdocs.akamai.com/property-mgr/docs/req-protocol.md)
* [Request Type](https://techdocs.akamai.com/property-mgr/docs/req-type.md)
* [Sample Percentage](https://techdocs.akamai.com/property-mgr/docs/sample-percentage.md)
* [Time Interval](https://techdocs.akamai.com/property-mgr/docs/time-interval.md)
* [Token Verification Result](https://techdocs.akamai.com/property-mgr/docs/token-ver-result.md)
* [User Agent](https://techdocs.akamai.com/property-mgr/docs/user-agent.md)
* [User Location Data](https://techdocs.akamai.com/property-mgr/docs/user-loc-data.md)
* [User Network Data](https://techdocs.akamai.com/property-mgr/docs/user-network-data.md)
* [Variable](https://techdocs.akamai.com/property-mgr/docs/var.md)
* [Variable Error](https://techdocs.akamai.com/property-mgr/docs/var-err.md)