diff options
author | 黑墨水鱼 <heimoshuiyu@gmail.com> | 2023-03-28 05:05:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 21:05:18 +0000 |
commit | dd86171d6723f6ebc0ddef39174b2c8d1f911f64 (patch) | |
tree | ee77ca726d2bd3f7630c1776691606b6290432dc /internal/caddyscript/matcherenv.go | |
parent | f5a13a4ab4e1dd1066fa81fb044127ae18c4f001 (diff) |
headers: Support deleting all headers as first op (#5464)
* Delete all existing fields when fieldName is `*`
* Rearrange deletion before addition in headers
* Revert "Rearrange deletion before addition in headers"
This reverts commit 1b50eeeccc92ccd660c7896d8283c7d9e5d1fcb0.
* Treat deleting all headers as a special case
* Apply suggestions from code review
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
---------
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'internal/caddyscript/matcherenv.go')
0 files changed, 0 insertions, 0 deletions