diff options
author | Kévin Dunglas <[email protected]> | 2024-05-13 19:38:18 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-13 17:38:18 +0000 |
commit | fb63e2e40ca34122849e63da85952246bf6bc6f1 (patch) | |
tree | 2fed9fab0fb46772694cb88edab8ebee3e639d19 /modules/caddyhttp/standard/imports.go | |
parent | 583c585c81ac4bcf94fb2046b695f64a83b41cf7 (diff) | |
download | caddy-fb63e2e40ca34122849e63da85952246bf6bc6f1.tar.gz caddy-fb63e2e40ca34122849e63da85952246bf6bc6f1.zip |
caddyhttp: New experimental handler for intercepting responses (#6232)
* feat: add generic response interceptors
* fix: cs
* rename intercept
* add some docs
* @francislavoie review (first round)
* Update modules/caddyhttp/intercept/intercept.go
Co-authored-by: Francis Lavoie <[email protected]>
* shorthands: ir to resp
* mark exported symbols as experimental
---------
Co-authored-by: Francis Lavoie <[email protected]>
Diffstat (limited to 'modules/caddyhttp/standard/imports.go')
-rw-r--r-- | modules/caddyhttp/standard/imports.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/standard/imports.go b/modules/caddyhttp/standard/imports.go index 236e7be1e..6617941c6 100644 --- a/modules/caddyhttp/standard/imports.go +++ b/modules/caddyhttp/standard/imports.go @@ -10,6 +10,7 @@ import ( _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/zstd" _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/fileserver" _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/headers" + _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/intercept" _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/logging" _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/map" _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/proxyprotocol" |