Re: WSGI 2.0 Round 2: requirements and call for interest

Cory Benfield <[email protected]> Mon, 4 Jan 2016 14:53:14 +0000
Newsgroups gmane.comp.python.web
Message-ID <[email protected]>
> On 4 Jan 2016, at 14:48, Damjan Georgievski <[email protected]> wrote:
> 
>> **TL;DR: What do you believe WSGI 2.0 should and should not do? Should we do it at all?**
> …
>> - Support websockets
>> - Support HTTP/2
> 
> What does HTTP/2 support mean? What features of HTTP/2 need to be
> exposed in the wsgi api?

(CC-ing the list)

The current WSGI API does not provide any consensus method for doing server push. Such a thing could absolutely be done as an extension to WSGI in its current form, and we should consider that.

More generally, HTTP/2 is a bit more generous with what can be done with a stream than is the case in HTTP/1.1. For example, a stream could in principle be kept open indefinitely and used as a bi-directional communications channel: WSGI in its current form does not make that easy to do.

Cory

_______________________________________________
Web-SIG mailing list
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: https://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJWiodaAAoJEHD+F/imQ+FbZJoP+wR0lITyNpE3pbn7nMnutZeD
g6pgf0660ZgflkLOE181eN+zymvZfwls/I6IOgShODjg30vUPmIow13QjiIZpIFO
7Rc65Wy4WSdJ+efXiznqXatGzR23sDqjABJm03In+TqcjveMKhG85z9jIL3fio2P
a0Whc7rApn8Qz8D+eqn3CJSIc/kQpQacMWRzVS579zOmhDkA3fFwY9etY0yldebV
tZ1tllWPNDCAmtAJKz1t9COPWF7J4V2YDE+agXZ/1g09ZrRDfkUcL2Hg3uJcQD8R
XhHeKq5Gr1riyvvlDQ52MrfT6j7iJ+QMrP6dQRjsFL3qNeJ2xCuIEkF6TZ8ywBXP
dLSCGK+ZMD40KiU3KkYPsHcYji3uYdKG+nSQNj3X6Yz+3+2lu1D05X89q6h+42/z
/niyKDUYqBt7042JHeB7ZlMATgLV+fNfGOJLCOdLbvNRUS2Cr9jwPt4JuEDtNk8q
4y4VORKBTUJ3UxtdfZkFcbwxZPX8Q4dQ3l0izzz5lV5rDVsTtT11jN+EDq8/xxau
7DtNh7fVksCNM/15+HBff9QBT8P23W8sZZnYrZS/ntXldWmg2He5N1JAAN14qS8W
P7yMkr3RB1grwWWqODD3c6li6MDbxg3EhAqGSRbzUziyO/3pAoH1zuIkCwoKbe5U
WmPse28tubmsMRJKIUG6
=c6s/
-----END PGP SIGNATURE-----