Re: How does Transfer-Encoding: chunked work with CGI?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux