[Info-vax] Re; Spiralog, RMS Journaling (was Re: FREESPADRIFT)

Johnny Billquist bqt at softjar.se
Mon Jun 27 10:01:12 EDT 2016


On 2016-06-27 04:33, lawrencedo99 at gmail.com wrote:
> On Friday, June 24, 2016 at 7:16:38 AM UTC+12, Johnny Billquist wrote:
>> For a web server, you *have* to give the size before you start sending
>> data. Doing it in segments then obviously is not the answer.
>
> Yes, you can do it in segments. It’s called “chunked” transfer coding <https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1>.

I *knew* someone was going to bring this up sooner or later. I tried 
being careful with my wording, but got tired. :-)

Yes, you can use chunked encoding. It will cause your web browser to not 
present you with a progress bar, and you will not be able to preallocate 
the file, but yes, it do work.

I started with that when I wrote my http server, since that is a 
mandatory part of HTTP/1.1, but I then realized that, especially for 
large files, having a progress bar is actually pretty damn useful, so I 
"had" to implement the file size headers as well.

	Johnny




More information about the Info-vax mailing list