[Haskell-cafe] CGI test

Bjorn Bringert bringert at cs.chalmers.se
Fri Jul 13 06:52:53 EDT 2007

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:



More information about the Haskell-Cafe mailing list