[Web-SIG] [extension] wsgi.info

Ian Bicking ianb at colorstudy.com
Tue Oct 16 18:10:23 CEST 2007


Manlio Perillo wrote:
> Hi.
> 
> I find it strange that the WSGI environ dictionary contains no 
> information about some "details" of the implementation.
> 
> I think it would be useful to have a wsgi.info variable that returns a 
> tuple with two strings:
> - the name of the implementation
> - the version of the implementation
> 
> Example:
> wsgi.info = ('nginx mod_wsgi', '0.0.4')

The details of what implementation?  The server?  The thing that called 
the app?  The thing that called the app and the thing that called it?

OTOH, there's a SERVER_SOFTWARE CGI variable, I believe.

-- 
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org
             : Write code, do good : http://topp.openplans.org/careers


More information about the Web-SIG mailing list