[IronPython] Rewrite of WSGI handler

Christopher Baus christopher at baus.net
Thu Nov 2 07:46:23 CET 2006

> In wsgi.py you comment "There isn't an obvious way to get request protocol
> from HTTPRequest object". In the wsgi.py under fepy CVS that was checked
> in
> after IPCEr3 I used request.ServerVariables['SERVER_PROTOCOL'] which seems
> to return the correct string.


I updated my code to look more like yours, but I got the incorrect result
for the SERVER_PROTOCOL from XSP2.  I documented that in my code.

I am setting SCRIPT_NAME, PATH_INFO, and SERVER_SOFTWARE manually to work
with the rootpath which I pass in from the appSettings.


More information about the Ironpython-users mailing list