Re: [PHP-DEV] Bugs: mod_php, w3c-libwww, "content-length", "chunked"and RFC 2068

2001-06-29 Thread Sascha Schumann
> mod_php will happily generate messages that include both a content-length > and a "chunked" transfer encoding *if* a script supplies a > "content-length" header. And if it sets "Transfer-Encoding: chunked" as well. PHP surely does not supply that. The script author is in (al

[PHP-DEV] Bugs: mod_php, w3c-libwww, "content-length", "chunked" and RFC 2068

2001-06-28 Thread Eric Kidd
So, I was using w3c-libwww to download some XML documents generated by mod_php, and I kept losing the last 5 or 6 bytes. Ethereal said those bytes were on the wire, so I dug into w3c-libwww's guts. Half a day later, here's what I've learned: mod_php will happily generate messages that include