* Graham Dumpleton wrote: > > On 6 Jan 2016, at 12:13 AM, Benoit Chesneau <bchesn...@gmail.com> > > wrote: > > > > So for me what should be WSGI 2? WSGI 2 should add against WSGI 1 the > > following: > > > > - tell to the application it is actually an HTTP2 request (maybe > > populating a wsgi.http2 true env) > > In CGI implementations you would for HTTP/1.1 already get: > > SERVER_PROTOCOL: 'HTTP/1.1’ > > Under HTTP/2 when I tested some time back, I recollect it came through as > one would assume would be expected: > > SERVER_PROTOCOL: ‘HTTP/2’ > > Is there any reason that this existing CGI variable wouldn’t be > sufficient for this purpose?
The CGI spec. Although only informational, the definition of SERVER_PROTOCOL is kinda weird. https://www.ietf.org/rfc/rfc3875 Cheers, -- "Solides und umfangreiches Buch" -- aus einer Rezension <http://pub.perlig.de/books.html#apache2> _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: https://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com