fix result streaming on dev environment
Created by: camdencheek
Streaming search hasn't been working on the dev environment for a little
while. The issue is the webpack dev server compresses requests with gzip
by default, but gzip buffers the full response before sending it. This
commit disables compression on the dev server so requests to the
/stream
endpoint are actually streamed back to the client.
Fixes issue in #24618
I wasn't able to find a simple way to disable compression for only that endpoint, so this disables it for every request on the dev server. I'm open to alternatives if anyone has better ideas.