What Is Chunked Encoding?

What Is Chunked Encoding?

Chunked transfer encoding is a streaming data transfer mechanism available in version 1.1 of the Hypertext Transfer Protocol. In chunked transfer encoding, the data stream is divided into a series of non-overlapping "chunks". The chunks are sent out and received independently of one another.

What does Transfer-Encoding chunked do?

Chunked transfer encoding allows a server to maintain an HTTP persistent connection for dynamically generated content. ... Without chunked encoding, the sender would have to buffer the content until it was complete in order to calculate a field value and send it before the content.

What is chunked encoding error?

What “chunked” means is that the server sends pieces of the page that it has already prepared, so that the browser can render them, while the server processes the next chunks. In JSP (and likely in many other view technologies) there is a buffer – whenever the buffer is filled, it is flushed to the client.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.