active-charging service ruledef http content type

Configures rule expression to match value in HTTP Content-Type entity-header field.

Syntax

http content type [ case-sensitive ] operator content_type 

case-sensitive

Specify the rule expression must be case-sensitive. By default, rule expressions are not case-sensitive.

content_type

Specify the content type to match.

Must be a string of 1-127 characters.

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • !contains : Does not contain.

  • !ends-with : Does not end with.

  • !starts-with : Does not start with.

  • = : Equals.

  • contains : Contains.

  • ends-with : Ends with.

  • starts-with : Starts with.

Usage Guidelines

Use this command to configure rule expressions to match HTTP content type.