# Debugging an HTTP streaming issue affecting browser and node-fetch requests behind Cloudflare

DevFeed: [Debugging an HTTP streaming issue affecting browser and node-fetch requests behind Cloudflare](<https://devfeed.tech/articles/debugging-a-mysterious-http-streaming-issue-30999.md>)

Original publisher: [Read original article](<https://www.mintlify.com/blog/debugging-a-mysterious-http-streaming-issue-when-cloudflare-compression-breaks-everything>)

Author: Nick Khami

Published: 2025-08-01T00:00:00Z

Content type: article

Language: en

Sources: [Mintlify Blog](<https://devfeed.tech/sources/mintlify-blog.md>)

Topics: [Streaming](<https://devfeed.tech/topics/streaming.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [fetch](<https://devfeed.tech/topics/fetch.md>)

Tags: [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [curl](<https://devfeed.tech/tags/curl.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [failed](<https://devfeed.tech/tags/failed.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [http](<https://devfeed.tech/tags/http.md>), [postman](<https://devfeed.tech/tags/postman.md>), [streaming](<https://devfeed.tech/tags/streaming.md>)

## AI overview

This article describes an HTTP response streaming failure at Mintlify: cURL and Postman worked, while node-fetch and browser fetch failed. The investigation identified Cloudflare's automatic compression settings as the cause, and disabling compression resolved the issue.

## Source excerpt

We recently encountered a frustrating issue with HTTP response streaming at Mintlify. Our system uses the AI SDK with the Node stream API to forward streams, and suddenly things stopped working properly. The symptoms were confusing: streaming worked perfectly with cURL and Postman, but failed completely with node-fetch and browser fetch. 