webpack-dev-server
webpack-dev-server copied to clipboard
Proxy does not stream when fetch requests server to stream
Bug report
When I use the eventSource request, the compress:fasle is configured. The proxy has a streaming effect. However, when I use fetch request, set content-type:text/event-stream, still configure compress:false, no streaming effect.
Actual Behavior
Should have streaming effects
Expected Behavior
No streaming effects, all returned in one frame
How Do We Reproduce?
server:{type:'https'}, compress: fasle
fetch('xxx', { headers: { 'Content-Type': 'text/event-stream' } })