Re: Content-length header

Joerg Sommer <[email protected]>
Newsgroups gmane.network.wwwoffle.user
Message-ID <[email protected]>
"Paul A. Rombouts" <[email protected]> wrote:
> Andrew M. Bishop wrote:
>> I will not be including any code to insert the Content-Length header
>> and I do not have a patch that would add it.
>
> For what it's worth, I do not agree with Andrew's assessment. When 
> downloading a fairly large file, a Content-Length header enables the 
> browser (or wget or whatever) to display a progress bar, which I find 
> very useful.

ACK. The greates problem for me is not to know how big is the file. I
must live with a 56k modem line and it's essential to know how big is a
file before you start downloading it.

> In the version of WWWOFFLE that I maintain for personal use, I try to 
> retain the Content-Length header or even add one when the length of the 
> response to the client can be known in advance. I do not use chunked 
> encoding in this case.

Would you publish this patch? I'm not familiar with the wwwoffle code,
but where is the problem? Doesn't wwwoffle has an outgoing queue or a
send module, where the content-header become generated?

Bye, Jörg.
-- 
Der Wille, und nicht die Gabe macht den Geber.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.