Chris Cross wrote:

Nick,

1) Reading till EOF works fine. I'd gotten in the habit of using Content-Length in the non-chunked case so hadn't tried it until now. The "Transfer-Encoding: chunked" header is set. Is that proper if "de-chunking" has occurred?

Well, the CGI spec pre-dates HTTP/1.1, and is silent on the subject
of chunked encoding.  But now that you mention it, it seems to me
to make sense to remove the header when we de-chunk the input.

So my test program is working now but I have another questions. Can you elaborate on what is a CGI implementation?

mod_cgi is one.  mod_cgid is another.  Then there are a couple
of fastcgi implementations including mod_fcgid.  Then there are
language-specific implementations, such as mod_perl's, the first
to run in-process CGI.

--
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to