larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/internal/http1/Http1ExchangeCodec.java
public void skipConnectBody(Response response) throws IOException {
    long contentLength = HttpHeaders.contentLength(response);
    if (contentLength == -1L) return;
    Source body = newFixedLengthSource(contentLength);
    Util.skipAll(body, Integer.MAX_VALUE, TimeUnit.MILLISECONDS);
    body.close();
  }
/**
   * The response body from a CONNECT should be empty, but if it is not then we should consume it
   * before proceeding.
   */
The response body from a CONNECT should be empty, but if it is not then we should consume it
before proceeding.
The response body from a CONNECT should be empty but if it is not then we should consume it before proceeding .
public void skipConnectBody(Response response) throws IOException {
    long contentLength = HttpHeaders.contentLength(response);
    if (contentLength == -1L) return;
    Source body = newFixedLengthSource(contentLength);
    Util.skipAll(body, Integer.MAX_VALUE, TimeUnit.MILLISECONDS);
    body.close();
  }
public void skipConnectBody ( Response response ) throws IOException { long contentLength = HttpHeaders . contentLength ( response ) ; if ( contentLength == - 1L ) return ; Source body = newFixedLengthSource ( contentLength ) ; Util . skipAll ( body , Integer . MAX_VALUE , TimeUnit . MILLISECONDS ) ; body . close ( ) ; }
The response body from a CONNECT should be empty, but if it is not then we should consume it
 before proceeding.
The response body from a CONNECT should be empty but if it is not then we should consume it before proceeding .