This PR causes :scheme to be properly populated for http2 Websocket requests.
:scheme is presently showing up to the server as an empty string (which is odd, since I'd expect it to be nil instead--I did not chase this down).
According to RFC 8441, section 4, bullet 2, :scheme must be present for h2 WS requests (which contrasts to other uses of h2 CONNECT, where :scheme is expected to be omitted).
This also adds tests for the presence and validity of authority, path, and protocol.
This PR causes
:scheme
to be properly populated for http2 Websocket requests.:scheme
is presently showing up to the server as an empty string (which is odd, since I'd expect it to benil
instead--I did not chase this down).According to RFC 8441, section 4, bullet 2,
:scheme
must be present for h2 WS requests (which contrasts to other uses of h2CONNECT
, where:scheme
is expected to be omitted).This also adds tests for the presence and validity of
authority
,path
, andprotocol
.Types of Changes
Contribution