envoyproxy/envoy

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

Open

#9,525 建立於 2019年12月30日

在 GitHub 查看
 (5 留言) (1 反應) (0 負責人)C++ (5,373 fork)batch import
area/httphelp wanted

倉庫指標

Star
 (27,997 star)
PR 合併指標
 (平均合併 8天) (30 天內合併 378 個 PR)

描述

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.

貢獻者指南