>>>>> "JS" == Jim Serio <[EMAIL PROTECTED]> writes:

JS> I too ignore this header but a system I'm integrating
JS> with that uses JSP to fetch data from an URL on my system
JS> aparently need to rely on the content-length. As for

But content-length is NOT a required header for HTTP protocol, is it?
If the program is relying on it, then it is broken and should be
fixed.

The other alternative is to generate your entire page as a string, get
the string's length() and print that as your content-length header.

Quite a lame thing to do on every page, if you ask me.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-301-545-6996
GPG & MIME spoken here            http://www.khera.org/~vivek/

Reply via email to