[IronPython] wsgi.py update and codecs errors
Christopher Baus
christopher at baus.net
Tue Oct 31 06:13:32 CET 2006
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wsgi.py
Type: application/x-python
Size: 1948 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061031/5c610d75/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codecs_errors.py
Type: application/x-python
Size: 2425 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061031/5c610d75/attachment-0001.bin>
More information about the Ironpython-users
mailing list