Re: =[xhr]

> I agree this is a nice default. However it should be
> overridable for cases where you know the server in
> question doesn't support chunked encoding.

I am sorry, but I cannot agree.  If the server in question does not
support chunked encoding (which is part of the standard), it probably
will not support badly formed HTTP messages (which it is not supposed to
support) either.  If you absolutely need to stream content whose length
is unknown beforehand to a server not supporting ckunked encoding,
construct your web service so that it supports multiple POSTs (or
whatever), one per piece of data to upload.

Rui Prior

Received on Monday, 24 November 2014 22:44:26 UTC