envoyproxy/envoy

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

Open

#9 525 ouverte le 30 déc. 2019

Voir sur GitHub
 (5 commentaires) (1 réaction) (0 assignés)C++ (5 373 forks)batch import
area/httphelp wanted

Métriques du dépôt

Stars
 (27 997 stars)
Métriques de merge PR
 (Merge moyen 8j) (378 PRs mergées en 30 j)

Description

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.

Guide contributeur