serve page using HTTP/2 protocol?

31 views
Skip to first unread message

niuji...@gmail.com

unread,
Jul 1, 2021, 3:09:20 AM7/1/21
to cherrypy-users
Does Cherrypy natively support serving page using HTTP/2 protocol? If so, how to configure it? This is missing from the official documentation.

walter...@gmail.com

unread,
Jul 1, 2021, 7:16:38 AM7/1/21
to cherryp...@googlegroups.com
I run a CherryPy Website in docker–Compose with letsEncrypt and it Supports HTTP/2 out of the Box.
Walter

Von meinem iPad gesendet

Am 01.07.2021 um 09:09 schrieb niuji...@gmail.com <niuji...@gmail.com>:

Does Cherrypy natively support serving page using HTTP/2 protocol? If so, how to configure it? This is missing from the official documentation.

--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cherrypy-users/12e1687d-2813-4be0-9927-f1c3fed7edd7n%40googlegroups.com.

Sviatoslav Sydorenko

unread,
Jul 5, 2021, 7:09:22 AM7/5/21
to cherryp...@googlegroups.com
Hey,


On Thu, Jul 1, 2021, 10:09 AM niuji...@gmail.com <niuji...@gmail.com> wrote:
Does Cherrypy natively support serving page using HTTP/2 protocol? If so, how to configure it? This is missing from the official documentation.

At the moment CherryPy (well, actually its underlying WSGI/HTTP server — Cheroot) only implements HTTP/1.1.

If you want to serve your site with HTTP/2, you could use a reverse proxy that supports HTTP/2, like nginx. Alternatively, you could replace Cheroot with a different WSGI server like uWSGI.

As a side note, I think it'll only make sense for us to support HTTP/2 once we make the underlying machinery asynchronous.


--Sviatoslav.

Sent from my phone, please pardon any typos.
Reply all
Reply to author
Forward
0 new messages