envoyproxy/envoy

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

Open

#9.525 geöffnet am 30. Dez. 2019

Auf GitHub ansehen
 (5 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/httphelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

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.

Contributor Guide