envoyproxy / envoyproxy/envoy

feature request: `skip_if_present` for request/response headers to add

Offen
#9,525 5 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area/http help wanted
Vorherrschende Sprache
C++
Sterne
28.9k
Forks
5.6k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
430

Beschreibung

*Title*: `skip_if_present` for request/response headers to add

*Description*:
When using `request/response_headers_to_add`, the only options are either replace the header or append to it. Sometimes it may be preferable to simply ignore if the header is already set. This would add a boolean `skip_if_present` option to `core.HeaderValueOption` that defaults to `false`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.