In playing with the mini webserver class in Pike, I notice that when
I try to create a CGI-interface to some existing CGI binaries, the
response_and_finish() method does not easily allow me to pass
through the headers+data coming from the CGI-program.
Any suggestions on how to solve this? My most immediate thought is to
create another instance of response_and_finish() which takes a string
instead of a mapping and then pumps out the raw response to the client.
--
Sincerely,
Stephen R. van den Berg.
Hackers view advertising as damage, and route around it.
|