Completes adding an example for http2 utilizing app_protocol in our forwarding setup.
In a follow up, we'll add app_protocol plumbing to the labeled listener.
Notes
Testing and example setup were not quite trivial in the synchronous set of python tooling. We were able to validate our examples and app_protocol integration through curl --http2 -v <LISTENER_URL> calls and see things working correctly. We add a not into the Readme to help other quickly validate.
Future work could explore adding a test to our test_connect.py once we identify an http2 python client we'd like to utilize for that. httpx seems to have documented http2 support with its httpx[http2] module installed.
Part of #80
Completes adding an example for http2 utilizing
app_protocol
in our forwarding setup.In a follow up, we'll add
app_protocol
plumbing to the labeled listener.Notes
Testing and example setup were not quite trivial in the synchronous set of python tooling. We were able to validate our examples and
app_protocol
integration throughcurl --http2 -v <LISTENER_URL>
calls and see things working correctly. We add a not into the Readme to help other quickly validate.Future work could explore adding a test to our
test_connect.py
once we identify anhttp2
python client we'd like to utilize for that.httpx
seems to have documentedhttp2
support with itshttpx[http2]
module installed.