Hi Christopher,

I had just checked in some changes to wsgi.py and checked my email and found your patch. I am getting the CGI variables a different way and would be interested in your comments. I am happy to include your changes as well re wsgi.py, but will leave the codecs_errors.py for Sanghyeon to review.

For your wsgi app were you using WSGI or WSGI-SI?

Mark

On 10/31/06, Christopher Baus <[EMAIL PROTECTED]> wrote:
Hi All,

I'm new to the list, but Jon Udell's sceencast with Jim Hugunin got me
pretty excited about the technology.  The fact that it seems to be working
well with Mono got me even more excited.

Anyway I'm working on a new app to test to viability of IronPython for web
development on linux.  I want to thank Sanghyeon Seo for the work on IPCE.
With a little bit of hacking, I was able to get an app up and running
with WSGI and xsp2 over the weekend.

I do have a couple patches, and not sure where to post them, I hope it is
ok to post them here.

Anyway, I'm attaching an updated version of wsgi.py where I attempt to set
more of the variables in the environ.  I don't have a good solution for
PATH_INFO or SERVER_PROTOCOL, but it is enough to bring up more
frameworks.  At least this gets us a bit further.

I am also attaching a file called codecs_errors.py which I lifted from
pypy.  I am loading it from my site.py.  The codecs error registration in
IronPython seems to be missing.  This is causing problems with the
standard email module.  This file addresses the problem.

Thanks,

Christopher
http://baus.net/

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to