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

André Malo nd at perlig.de
Wed Jan 6 13:41:55 EST 2016


* Graham Dumpleton 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?

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>


More information about the Web-SIG mailing list