caddy/modules/caddyhttp/headers
黑墨水鱼 dd86171d67
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>
2023-03-27 21:05:18 +00:00
..
caddyfile.go reverseproxy: On 103 don't delete own headers (#5091) 2022-09-29 08:19:56 -06:00
headers_test.go headers: Support wildcards for delete ops (close #4830) (#4831) 2022-06-15 09:57:43 -06:00
headers.go headers: Support deleting all headers as first op (#5464) 2023-03-27 21:05:18 +00:00