ESI's answer when a route has nothing to return: a 204, or a 200 with
Content-Length: 0 where its spec says 204 (an expired or accepted public
contract). Only routes flagged emptyWhenNoContent read it as an empty
list. The custom clients (EndpointDefinition) and the generated
operations (OperationMeta) carry the same flag and share this check.
ESI's answer when a route has nothing to return: a 204, or a 200 with
Content-Length: 0where its spec says 204 (an expired or accepted public contract). Only routes flaggedemptyWhenNoContentread it as an empty list. The custom clients (EndpointDefinition) and the generated operations (OperationMeta) carry the same flag and share this check.