larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/internal/http1/Http1ExchangeCodec.java
@Override public void writeRequestHeaders(Request request) throws IOException {
    String requestLine = RequestLine.get(
        request, realConnection.route().proxy().type());
    writeRequest(request.headers(), requestLine);
  }
/**
   * Prepares the HTTP headers and sends them to the server.
   *
   * <p>For streaming requests with a body, headers must be prepared <strong>before</strong> the
   * output stream has been written to. Otherwise the body would need to be buffered!
   *
   * <p>For non-streaming requests with a body, headers must be prepared <strong>after</strong> the
   * output stream has been written to and closed. This ensures that the {@code Content-Length}
   * header field receives the proper value.
   */
Prepares the HTTP headers and sends them to the server.
For streaming requests with a body, headers must be prepared before the
output stream has been written to. Otherwise the body would need to be buffered!

For non-streaming requests with a body, headers must be prepared after the
output stream has been written to and closed. This ensures that the  Content-Length
header field receives the proper value.
Prepares the HTTP headers and sends them to the server . For streaming requests with a body headers must be prepared before the output stream has been written to . Otherwise the body would need to be buffered! For non - streaming requests with a body headers must be prepared after the output stream has been written to and closed . This ensures that the Content - Length header field receives the proper value .
@Override public void writeRequestHeaders(Request request) throws IOException {
    String requestLine = RequestLine.get(
        request, realConnection.route().proxy().type());
    writeRequest(request.headers(), requestLine);
  }
@ Override public void writeRequestHeaders ( Request request ) throws IOException { String requestLine = RequestLine . get ( request , realConnection . route ( ) . proxy ( ) . type ( ) ) ; writeRequest ( request . headers ( ) , requestLine ) ; }
Prepares the HTTP headers and sends them to the server.
Prepares the HTTP headers and sends them to the server .