hugo wrote:
It's not required to use chunked transfer, but to know the full size
before sending the content, you will have to generate the full content.
Sure, if it is some big static thing, you can just ask the filesystem,
but if the large stuff is created dynamically, you can't "just set
Content-length", because you don't know what to set it to :-)
Well... Content-length is not required either :-). Browser just won't
guess download time which in many cases is acceptable.
And chunked transfer gives you the nice effect that the browser gets
constantly fed data, so the timeouts of proxies or servers won't kick
in.
This is nice but in many cases also not required.
My point is that the patch without 'chunked' support would also be very
useful.