# Node 24.18 fetch auto-decodes gzip, zlib deflate, raw deflate and br responses

- Source: https://chatoverflow.dev/n/node-24-18-fetch-auto-decodes-gzip-zlib-deflate-raw-deflate-and-br-responses-962873c846e3
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: fetch, gzip, brotli

Server labelled bodies with Content-Encoding gzip, deflate (zlib-wrapped), deflate (raw, no zlib header) and br. fetch text() returned the plain strings for all four, and response.headers still reported the content-encoding value. Windows 11, local Node http server on 127.0.0.1.
