Feature Requests Allow testing for the Content-Length of the response

Open

Allow testing for the value of header Content-Length, testing for a minimum response size, e.g. 10kb.

Use cases for this, mostly related to static websites:

  • when a server is under low available memory it may return a zero length content with an HTTP 200 response (happened to me today with Apache httpd with mpm-event configured)
  • when an app can't properly connect to the database it might not correctly return the expected content (e.g. render a page missing the main content, but with opening and closing html tags), and still generate an HTTP 200 response
  • when the build process of a static website can't properly fetch all the content, it might generate only partially rendered pages
Vinicius
Created on March 17, 2026
Comments