[Web-SIG] WSGI 2.0 Round 2: requirements and call for interest

Graham Dumpleton graham.dumpleton at gmail.com
Wed Jan 6 04:29:27 EST 2016


> On 6 Jan 2016, at 12:13 AM, Benoit Chesneau <bchesneau at 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?

Graham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/web-sig/attachments/20160106/6829d26f/attachment-0001.html>


More information about the Web-SIG mailing list