@bagder I couldn't find an answer so I gotta ask here, is there any reason curl does not enable --compressed by default when at least gzip is supported?
From what I see here (getcomposer.org) 96% of curl clients fetch uncompressed files, wasting many GB of bandwidth per day.
I'm tempted to configure nginx to just return brotli encoded content to them as AFAIK curl will decode even if it didn't ask for it, and the vast majority has compression support, but of course this'd break some clients.
@seldaek it's just been one of those fundamentals of curl: default is basic, everything else you enable. No one has ever pushed for doing compression by default as far as I can remember.