code: private static boolean isSelfDefinedMessageLength(HttpResponse response) {
          return isContentLengthSet(response) || isTransferEncodingChunked(response) || isMultipart(response) ||
                 isInformational(response) || response.status().code() == HttpResponseStatus.NO_CONTENT.code();
      }
docs: Keep-alive only works if the client can detect when the message has ended without relying on the connection being
  closed.
  <p>
  <ul>
  <li>See <a href="https://tools.ietf.org/html/rfc7230#section-6.3"/></li>
  <li>See <a href="https://tools.ietf.org/html/rfc7230#section-3.3.2"/></li>
  <li>See <a href="https://tools.ietf.org/html/rfc7230#section-3.3.3"/></li>
  </ul>
  
  @param response The HttpResponse to check
  
  @return true if the response has a self defined message length.