最佳答案
Is there any way to get curl to decompress a response without sending the Accept-encoding headers in the request?
I'm trying to debug an issue where the order of the Accept-encoding headers may be relevant, but I also need to know what the response is. If I just send -H 'Accept-encoding: gzip
and the server gzips the response, curl won't decompress it.