While working on PlugEarlyHints I needed to create test HTTP/2 sessions for my tests (this plug ignores HTTP/1.1 requests as not all clients may be conforming to the later specs where there can be more than one response sent). To do so I needed to create my own module that uses internal API just to return HTTP/2 session. This should be available via 4th option to the Plug.Test.conn where we could specify additional features of the adapter (like HTTP version used).
While working on
PlugEarlyHints
I needed to create test HTTP/2 sessions for my tests (this plug ignores HTTP/1.1 requests as not all clients may be conforming to the later specs where there can be more than one response sent). To do so I needed to create my own module that uses internal API just to return HTTP/2 session. This should be available via 4th option to thePlug.Test.conn
where we could specify additional features of the adapter (like HTTP version used).