Transfer-Encoding Header Explained

What the HTTP Transfer-Encoding header does and when it's used.

Published October 17, 2026

The Transfer-Encoding header specifies the encoding used to safely transfer the body, such as chunked.

Key points

  • Used when the total content length isn't known in advance, letting the server stream a response in pieces
More HTTP articles