[Twisted-Python] Twisted for http/2 (RESTful) webservices - client/server

2019-05-24 Thread Jayanth Acharya
Hi, Quick intro - I am new to Python, and come from Java background (with some exposure to NIO). I am part of a small team setup for testing of some 5G telecom network software that have micro-service decomposition and the components communicate with each other using REST interface over HTTP/2.0 (

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

2019-05-24 Thread meejah
Jayanth Acharya writes: > From a very quick read of the Twisted docs (and some stackoverflow > Q&A) I get the impression that it is possible to use Flask as the > RESTful web-service framework using HTTP/2.0 for the server-end, but > perhaps there is no Twisted framework provided HTTP/2.0 client

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

2019-05-24 Thread Jayanth Acharya
Thanks Meejah. Appreciate your clearing up that Flask is not based on twisted, not sure I got that impression earlier. 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 HT

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

2019-05-24 Thread meejah
Jayanth Acharya 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 inst

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

2019-05-24 Thread Amber Brown
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, wrote: > Jayanth Acharya writes: > > > Checked Klein, and it seems quite promising