Files
smallwebwaf/internal/coreruleset
clawbot c557b175ad
check / check (push) Failing after 4m25s
Core Rule Set tests: inspect requests with no body and no Content-Type once (closes #281)
wantRecordedRequestsPass inspects a recorded request with neither a body
nor a Content-Type header only at the defaults, as the WordPress test does
for a request with no body. With neither, the set that reads bodies has
nothing more to check: what it adds picks how to read a body from the
Content-Type, then reads the body. Every other request is still inspected
both ways. This cuts the package's CPU time under -race by about a fifth.

Model: opus-5-5
2026-11-10 09:43:11 +01:00
..