Content-Length header wrong/broken/missing/sad/depleted/ruined
paullewis opened this issue · 6 comments
paullewis commented
Not seeing it show up (comes through as null
for response.headers.get('Content-Length')
.
Switching off gzip makes it all hunky dory.
surma commented
I completely removed gzip support for now
paullewis commented
Yah booooooo. I like gzip.
paullewis commented
#supportbrotli
surma commented
The issue is mostly that I’d have to compress ahead-of-time in memory to figure out the compressed size to set Content-Length
. Once I figure out a good way to do that, I might add it back in ¯_(ツ)_/¯
surma commented
It should work with streaming gzip and whitelist/blacklist to skip over media files.
surma commented
GZIP’s baaaaack! cc @jakearchibald