3 ms·
Transfer-Encoding: chunked is for something completely different. It is for streaming a single body that you do not know the length of. It does not define a s
by toomim 2y ago
Transfer-Encoding: chunked is for something completely different. It is for streaming a single body that you do not know the length of. It does not define a subscription format. It does not specify versioning. It does not define a patch format.
Some people have suggested using chunked boundaries as a way to encode multiple responses to a subscription. Perhaps this is what you are thinking of. However, chunk boundaries cannot be relied upon to remain intact; they can be changed by intermediaries. The chunks are only an encoding of the transfer. They are not supposed to contain any semantic information.
Chunked transfer is also disallowed in http/2.