corazawaf/coraza

docs: investigate RESPONSE_CONTENT_LENGTH variable

Open

#1,566 opened on Mar 22, 2026

 (0 comments) (0 reactions) (0 assignees)Go (333 forks)auto 404
documentationgood first issue

Repository metrics

Stars
 (3,627 stars)
PR merge metrics
 (PR metrics pending)

Description

  1. why is it named "content" and not aligned the the request body variable RequestBodyLength? Should we create an alias?
  2. when is it populated? Looks like it is populated only when no response body processor is active. Is it correct? Is it aligned with ResponseBody?
  3. Does forceResponseBodyVariable have some implications on ResponseContentLength?

From https://github.com/corazawaf/coraza/pull/1565.

Contributor guide