---
title: Content Length Selector
slug: ps/help/en_us/vwaf/ag/content-length-selector
docTags: 
createdAt: 2026-08-02T10:05:41.310Z
---

## Purpose

The Content Type Selector permits path-specific handling dependent on the content type specified in a request (Internet Media Type, MIME Type).

:::hint{type="info"}
For more information regarding adding and editing Preconditions, see [Editing Preconditions](docId\:eg2UBhe0V3T812ANR5-bT).
:::

## Recommendations for use

Use the Content Type Selector to handle special or sensitive data in a specific way, for example.

## Attributes

| Attribute     | Meaning                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| content types | List of content types (Internet Media Types, MIME Types) for which the precondition is met, which means that vWAF observes the rules stored for the path added to the precondition (assuming any other additional preconditions specified are also met).<br />Examples:<br />- `application/x-www-form-urlencoded`<br />HTML form data to CGI<br />- `multipart/form-data`<br />multi-part data from HTML form (e.g. file upload)<br />- `application/msword`<br />Microsoft Word files (\*.doc, \*.dot)<br />- `application/pdf`<br />Adobe PDF files (\*.pdf) |
