<p>
A direct upgrade is an unofficial upgrade from HTTP/1.1 to HTTP/2.0.
</p>
<p>
A direct upgrade is initiated when
HTTP connection sees a request with these
bytes:
</p>
<pre>
PRI * HTTP/2.0\r\n
\r\n
</pre>
<p>
This request is part of the HTTP/2.0 preface, indicating that a HTTP/2.0
client is attempting a h2c direct connection.
</p>
<p>
This is not a standard HTTP/1.1 Upgrade path.
</p>
<p> A direct upgrade is an unofficial upgrade from HTTP/1.1 to HTTP/2.0. </p> <p> A direct upgrade is initiated when HTTP connection sees a request with these bytes: </p>
<pre> PRI * HTTP/2.0\r\n \r\n </pre> <p> This request is part of the HTTP/2.0 preface, indicating that a HTTP/2.0 client is attempting a h2c direct connection. </p> <p> This is not a standard HTTP/1.1 Upgrade path. </p>