corazawaf/coraza

docs: investigate RESPONSE_CONTENT_LENGTH variable

Aperta

#1566 aperta il 22 mar 2026

 (0 commenti) (0 reazioni) (0 assegnatari)Go (333 fork)auto 404
documentationgood first issue

Metriche repository

Star
 (3627 stelle)
Metriche merge PR
 (Merge medio 6g 12h) (13 PR mergiate in 30 g)

Descrizione

  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.

Guida contributor