[Ironpython-users] POST requests to IronPython CGI under IIS 7.5

Dalius Dobravolskas dalius.dobravolskas at gmail.com
Tue Dec 11 12:26:32 CET 2012


Hi,

I have created python CGI script that should handle POST requests. I'm
running this script under IIS 7.5. It works without problems if I'm using
CPython but with IronPython I have problem (therefore I know it is
IronPython problem and not IIS). If POST request is longer than 320 symbols
then my script freezes. Initially I was trying to use python cgi module -
it was working until I tried POST request with more data. Then I tried to
go deeper and tried to parse request manually - then I found out that
reading from sys.stdin freezes my script when more data than 320 symbols is
passed to script.

As temporary solution I will use GET requests (but kitten is killed when
you use GET to modify data) or I will use alternative to CGI scripts (any
recommendations).

I have created bug reports here:
http://ironpython.codeplex.com/workitem/33556

Regards,
Dalius Dobravolskas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20121211/59782818/attachment.html>


More information about the Ironpython-users mailing list