envoyproxy/envoy

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

Open

#9.525 aberto em 30 de dez. de 2019

Ver no GitHub
 (5 comments) (1 reaction) (0 assignees)C++ (5.373 forks)batch import
area/httphelp wanted

Métricas do repositório

Stars
 (27.997 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (378 fundiu PRs em 30d)

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.

Guia do colaborador