Skip to content

HeaderModifierInput

As Gateway API's header modifier filter: removes, then sets, then adds. Names are HTTP tokens, case-insensitive and once each per list; content-length, transfer-encoding, connection, upgrade, keep-alive and te can't be named.

Fields

  • addoptionalarray ofobject

    Adds each header beside any value it already has.

    2 properties
    • namestringrequired

      An HTTP token.

      maxLength: 128
    • valuestringrequired

      Printable ASCII, not starting or ending with a space.

      maxLength: 256, minLength: 1
  • removeoptionalarray ofstring

    Header names to remove.

    maxLength: 128
  • setoptionalarray ofobject

    Replaces each header's value, or adds it when the request has none.

    2 properties
    • namestringrequired

      An HTTP token.

      maxLength: 128
    • valuestringrequired

      Printable ASCII, not starting or ending with a space.

      maxLength: 256, minLength: 1
Navigation

Type to search…

↑↓ navigate↵ selectEsc close