CGI post handling differences on Hiawatha and Apache

503 Views Asked by At

I'm trying to set up a light development environment to allow straight CGI in Common Lisp, and I'd like to use Hiawatha instead of the much larger Apache. I have code that works for both GET and POST in Apache, but only GET in Hiawatha; is there a difference in the way Apache and Hiawatha handle POST?

1

There are 1 best solutions below

1
Powerlord On

The CGI specification only specifies that POST data should be sent to a CGI script using the program's STDIN, as opposed to GET which is sent in the environment variable QUERY_STRING.