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

bruce.bromberek@gmail.com bruce.bromberek at gmail.com
Wed Apr 2 03:22:09 CEST 2014


BBC changing 

Sent from my HTC One™ S on T-Mobile. America’s First Nationwide 4G Network.

----- Reply message -----
From: "Jeff Hardy" <jdhardy at gmail.com>
To: "Dalius Dobravolskas" <dalius.dobravolskas at gmail.com>
Cc: "ironpython-users at python.org" <ironpython-users at python.org>
Subject: [Ironpython-users] POST requests to IronPython CGI under IIS 7.5
Date: Wed, Dec 19, 2012 10:51 AM


On Tue, Dec 11, 2012 at 3:26 AM, Dalius Dobravolskas
<dalius.dobravolskas at gmail.com> wrote:
> 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

Thanks for the issue report. I have no idea if it's an IronPython
issue or an IIS issue, but since you say it works with normal Python,
my guess is IronPython somewhere.

One alternative is NWSGI (http://nwsgi.codeplex.com/) which uses
IronPython to implement the standard Python WSGI interface.

- Jeff
_______________________________________________
Ironpython-users mailing list
Ironpython-users at python.org
http://mail.python.org/mailman/listinfo/ironpython-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140401/d1f779ba/attachment.html>


More information about the Ironpython-users mailing list