From fb24b69b29f404ab943f2a7d9d97a7992d6fddf5 Mon Sep 17 00:00:00 2001 From: Adrien Pensart Date: Sun, 8 Dec 2024 11:44:31 -0500 Subject: [PATCH] Add: rename directive to set_body(2) --- modules/caddyhttp/requestbody/caddyfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/requestbody/caddyfile.go b/modules/caddyhttp/requestbody/caddyfile.go index d032a205709a..e2382d54683a 100644 --- a/modules/caddyhttp/requestbody/caddyfile.go +++ b/modules/caddyhttp/requestbody/caddyfile.go @@ -75,7 +75,7 @@ func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error) } rb.Set = setStr default: - return nil, h.Errf("unrecognized set_body subdirective '%s'", h.Val()) + return nil, h.Errf("unrecognized request_body subdirective '%s'", h.Val()) } }