Difference between revisions of "M4 Header Transformation Rules Groups"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 12: Line 12:


Depending on the header, it is possible to:
Depending on the header, it is possible to:
* '''Forward without changes''' - no changes to headers.
* '''Transform and forward''' - modify the current header.
* '''Transform existing, generate if missing''' - modify the current header if it exists. If it does not exist, a header will be generated.
* '''Overwrite''' - drop the original header if it exists and create a new one.
* '''Drop''' - removes the header.
It is also possible to add a custom header to the empty header field.
Regexp Transformation is used to modify headers.

Revision as of 07:29, 30 November 2023

Header Transformation Rules are available in the Routing section.

M4 routing header transformation rules.png

Press ADD NEW to create Header Transformation Rules Group.

M4 header transformation rules add new.png

The image below shows which headers are possible to modify.

M4 header transformation rules.png

Depending on the header, it is possible to:

  • Forward without changes - no changes to headers.
  • Transform and forward - modify the current header.
  • Transform existing, generate if missing - modify the current header if it exists. If it does not exist, a header will be generated.
  • Overwrite - drop the original header if it exists and create a new one.
  • Drop - removes the header.

It is also possible to add a custom header to the empty header field.

Regexp Transformation is used to modify headers.