envoyproxy/envoy
View on GitHubfeature request: `skip_if_present` for request/response headers to add
Open
#9,525 opened on Dec 30, 2019
area/httphelp wanted
Repository metrics
- Stars
- (27,997 stars)
- PR merge metrics
- (Avg merge 8d) (378 merged PRs in 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.