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

Benoit Chesneau bchesneau at gmail.com
Wed Jan 6 04:31:24 EST 2016


On Wed, Jan 6, 2016 at 10:29 AM Graham Dumpleton <graham.dumpleton at gmail.com>
wrote:

>
> 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
>


True. I don't think there is a need for another env. The current way also
work for the future :)

- benoît
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/web-sig/attachments/20160106/1c50e2e4/attachment.html>


More information about the Web-SIG mailing list