In the HTTP/2 protocol, H2_PRIOR_KNOWLEDGE refers to a connection mode used to establish an HTTP/2 connection between a client and a server. It involves directly initiating an HTTP/2 connection between the client and server without any prior negotiation or protocol upgrade, such as TLS. In the H2_PRIOR_KNOWLEDGE mode, the client and server immediately commence communication using the HTTP/2 protocol without any preceding negotiation or upgrade process. This connection mode is typically utilized for specific use cases, such as communication between HTTP/2 proxy servers.
See
okhttp/okhttp/src/main/kotlin/okhttp3/Protocol.kt at master · square/okhttp · GitHub