Re: Twisted for http/2 (RESTful) webservices - client/server

Amber Brown <[email protected]> Sat, 25 May 2019 06:37:27 +1000
Newsgroups gmane.comp.python.twisted
Message-ID <CAMxb2is0gNvchcvqCQnnMU8trGL3JT10BM8s-r+v+FPby6MwYA@mail.gmail.com>
To note -- Twisted does not currently have HTTP/2 client support, only
server support. Treq will not talk H2 at the moment, but Klein+Twisted will
happily serve it up.

- Amber

On Sat., 25 May 2019, 06:35 meejah, <[email protected]> wrote:

> Jayanth Acharya <[email protected]> writes:
>
> > Checked Klein, and it seems quite promising (and seem quite similar to
> > Flask, from developer standpoint). From the documentation it was not
> > quite evident to me, as to how to use HTTP2 under Klein.
>
> Klein uses Twisted Web underneath. So, it's "merely" a matter of
> installing the right things essentially.
>
> > Checked treq, but is it really advantageous over request ? Also found
> > no reference to HTTP2 in treq documents.
>
> Yes, because "requests" is a synchronous library that won't use Twisted
> at all. As above, treq uses twisted web so it will use http2 if the
> underlying twisted has been set up to use http2 (by installing the right
> things).
>
> p.s. if you need real-time help/discussion, #twisted on freenode is a
> friendly and active channel.
>
> Cheers,
> meejah
>
> _______________________________________________
> Twisted-Python mailing list
> [email protected]
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python