An HTTP/2 server integrated with Tornado using hyper-h2.
Check out PythonTiles, a quick example inspired by GopherTiles.
It implements an HTTP2Server
which accepts standard Tornado Application
objects and seamlessly returns responses from web.RequestHandler
objects through HTTP/2.
Please note: This is not fully compliant and it's missing many features (and tests).
- Clone this repo
- Create a virtual env
python setup.py develop
pip install -r examples/requirements.txt
python examples/tornado_h2_server_example.py
- Visit the URL in the output in the browser, if https is specified make sure to accept the certificate