
On Jul 12, 2007, at 19:59 , Andrew Coppin wrote:
Hugh Perkins wrote:
...
Thanks for trying - but that doesn't actually work. (For starters, you need to prepend the HTTP status code to the data from the CGI script...)
Actually, as it turns out, the script I want to test needs to accept POST data, and the parsing is really quite complicated, and I want it to not crash out if I type the URL wrong, and...
Basically, the more I look at this, the more I realise that it really truely *is* going to be faster to just use a real web server. I thought I could just implement a tiny subset of it to get a working system, but it turns out the subset I need isn't so tiny...
Sorry guys.
As an earlier poster hinted, there is a version of Haskell Web Server that can run CGI programs: http://www.cs.chalmers.se/~bringert/darcs/hws-cgi/ /Björn