In addition to rewriting the response body for HTML, where the HTML parser of Airlock Gateway lets you define rewrite rules for different semantic parts of HTML, such as URLs and JavaScript, you can configure Gateway to generally rewrite the body of HTTP responses.
To specify what bodies shall be rewritten, each rule is accompanied by a Content type field. If a HTTP request or response contains a Content-Type header that matches the regular expression in that field, the rule will be applied.
The configured rewrite rules are executed from top to bottom of the list.