123module juptune.http.v1;
bool isBodyless;
If set to true, then the response will be forced to be interpreted as a bodyless response, regardless of what the headers say.
This is defined in RFC 9112 section 6.3.1. to apply to HEAD requests; 1xx, 204, and 304 responses.
As the reader lacks context of the overall state of the request/response pipeline, it is up to the user code to determine if the response is a HEAD response, and to set this flag accordingly.