hasBody() provides an easy way to check whether the request contains payload data. This ensures this check is performed consistently and in accordance with RFC 9110. Change-Id: If15f2cb6239c4c8170e70a5bec8a5f0821361275
Bug: T357025 Change-Id: I2d1da0e1db0b21befaeffb107fe2e530b6721d0e