From: Colin M. <co...@ch...> - 2005-09-14 16:06:14
|
On Wed, 2005-09-14 at 17:15 +0200, Heyligen Tom wrote: > The client sends multiple messages/chunks to the server, indicating > "Transfer-Encoding: chunked" in the header of the 1st message. > Each chunks carries its own size indicator. The chunked encoding series > is correctly ended by a chunk whose size is zero. > > Unfortunately, TclHTTPD replies with a 411 error (length required). > This Httpd_Error seems to be generated in the HttpdRead procedure > from lib/httpd.tcl when state equals "0,mime". > > So, my question is: is chunked transfer-encoding supported? > If so, what could be missing? If not, any plans to implement it in future versions? I've noticed this too, and my conclusion is that transfer-encoding is not properly supported. Tclhttpd supports a mostly useful subset of HTTP1.1 spec, but certainly not the whole thing. Sorry to respond tersely and uninformatively, but I have no idea whether T-E will ever be supported. Colin. |