You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***rule**: Defines a new filter rule for a file to respond.
32
33
> **Important:** Define ``path`` and/or ``content_type`` not to open. Slack rules could dramatically impact the system performance because every response is recorded to memory before returning it.
33
34
35
+
> **Hint:** Since version 0.8 are ``path`` and ``content_type`` are `and` combined if both provided. Before it was `or` combined but this was an unexpected
36
+
34
37
***path**: Regular expression that matches the requested path.
35
38
***content_type**: Regular expression that matches the requested content type that results after the evaluation of the whole request.
39
+
***path_content_type_combination**: _(Since 0.8)_ Could be `and` or `or`. (Default: `and` - before this parameter existed it was `or`)
36
40
***search_pattern**: Regular expression to find in the response body to replace it.
37
41
***replacement**: Pattern to replace the ``search_pattern`` with.
38
42
<br>You can use parameters. Each parameter must be formatted like: ``{name}``.
0 commit comments