code: public MockResponse setChunkedBody(Buffer body, int maxChunkSize) {
      removeHeader("Content-Length");
      headers.add(CHUNKED_BODY_HEADER);
  
      Buffer bytesOut = new Buffer();
      while (!body.exhausted()) {
        long chunkSize = Math.min(body.size(), maxChunkSize);
        bytesOut.writeHexadecimalUnsignedLong(chunkSize);
        bytesOut.writeUtf8("\r\n");
        bytesOut.write(body, chunkSize);
        bytesOut.writeUtf8("\r\n");
      }
      bytesOut.writeUtf8("0\r\n"); // Last chunk. Trailers follow!
  
      this.body = bytesOut;
      return this;
    }
docs: Sets the response body to {@code body}, chunked every {@code maxChunkSize} bytes.